kunfei 4 tahun lalu
induk
melakukan
9774803b8e
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      app/src/main/java/io/legado/app/utils/ColorUtils.kt

+ 1 - 1
app/src/main/java/io/legado/app/utils/ColorUtils.kt

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