Added option to keep screen on when showing lyrics

This commit is contained in:
Prathamesh More 2022-01-17 18:14:55 +05:30
parent b349b8c4d1
commit c7f7f9d695
7 changed files with 37 additions and 2 deletions

View file

@ -698,7 +698,13 @@ object PreferenceUtil {
}
val wallpaperAccent
get() = sharedPreferences.getBoolean(WALLPAPER_ACCENT, VersionUtils.hasOreoMR1() && !VersionUtils.hasS())
get() = sharedPreferences.getBoolean(
WALLPAPER_ACCENT,
VersionUtils.hasOreoMR1() && !VersionUtils.hasS()
)
val lyricsScreenOn
get() = sharedPreferences.getBoolean(SCREEN_ON_LYRICS, false)
}
enum class LyricsType {
REPLACE_LYRICS, OVER_LYRICS