File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app/src/main/kotlin/com/simplemobiletools/flashlight/activities Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ class MainActivity : SimpleActivity() {
219219 }
220220 }
221221
222- private fun getContrastColor () = config.backgroundColor .getContrastColor()
222+ private fun getContrastColor () = getProperBackgroundColor() .getContrastColor()
223223
224224 private fun releaseCamera () {
225225 mCameraImpl?.releaseCamera()
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ class SettingsActivity : SimpleActivity() {
3636 }
3737
3838 arrayOf(settings_color_customization_holder, settings_general_settings_holder).forEach {
39- it.background.applyColorFilter(baseConfig.backgroundColor .getContrastColor())
39+ it.background.applyColorFilter(getProperBackgroundColor() .getContrastColor())
4040 }
4141 }
4242
You can’t perform that action at this time.
0 commit comments