File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
app/src/main/kotlin/com/simplemobiletools/flashlight/activities Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import android.content.Context
66import android.content.Intent
77import android.content.pm.ActivityInfo
88import android.content.pm.ShortcutInfo
9+ import android.graphics.drawable.ColorDrawable
910import android.graphics.drawable.Icon
1011import android.graphics.drawable.LayerDrawable
1112import android.os.Bundle
@@ -114,6 +115,9 @@ class MainActivity : SimpleActivity() {
114115 }
115116 }
116117
118+ binding.sleepTimerHolder.background = ColorDrawable (getProperBackgroundColor())
119+ binding.sleepTimerStop.applyColorFilter(getProperTextColor())
120+
117121 requestedOrientation = if (config.forcePortraitMode) ActivityInfo .SCREEN_ORIENTATION_PORTRAIT else ActivityInfo .SCREEN_ORIENTATION_SENSOR
118122 invalidateOptionsMenu()
119123
You can’t perform that action at this time.
0 commit comments