[UI] Better support for Immersive mode on notched devices

This commit is contained in:
Prathamesh More 2021-12-01 13:49:52 +05:30
parent c6f6317839
commit 238c54c6fb
3 changed files with 6 additions and 2 deletions

View file

@ -1,6 +1,5 @@
package code.name.monkey.appthemehelper
import android.annotation.SuppressLint
import android.app.Activity
import android.app.ActivityManager
import android.content.Context
@ -18,7 +17,6 @@ import code.name.monkey.appthemehelper.util.ToolbarContentTintHelper
*/
object ATH {
@SuppressLint("CommitPrefEdits")
fun didThemeValuesChange(context: Context, since: Long): Boolean {
return ThemeStore.isConfigured(context) && ThemeStore.prefs(context).getLong(
ThemeStorePrefKeys.VALUES_CHANGED,