Fixes to white background sometimes in auto dark mode

This commit is contained in:
Jay 2019-12-05 19:31:58 -08:00
parent 4ac4923d15
commit 5874a4d2df

View File

@ -93,7 +93,8 @@ object ImageUtil {
topLeftIsDark -> image.getPixel(left, top)
topRightIsDark -> image.getPixel(right, top)
botLeftIsDark -> image.getPixel(left, bot)
else -> image.getPixel(right, bot)
botRightIsDark -> image.getPixel(right, bot)
else -> android.R.attr.colorBackground
}
var overallWhitePixels = 0