pull/1894/head^2 3.22.051612
kunfei 3 years ago
parent 42c2d453f0
commit 944add674e
  1. 2
      app/src/main/java/io/legado/app/utils/ColorUtils.kt

@ -10,7 +10,7 @@ import kotlin.math.*
object ColorUtils {
fun isColorLight(@ColorInt color: Int): Boolean {
return ColorUtils.calculateLuminance(color) >= 0.65
return ColorUtils.calculateLuminance(color) >= 0.5
}
fun intToString(intColor: Int): String {

Loading…
Cancel
Save