Added option to show lyrics over Cover

This commit is contained in:
Prathamesh More 2022-01-04 12:23:36 +05:30
parent 3cd6714336
commit 956cce6989
7 changed files with 59 additions and 9 deletions

View file

@ -667,4 +667,14 @@ object PreferenceUtil {
val isSnowFalling
get() = sharedPreferences.getBoolean(SNOWFALL, false)
val lyricsType: LyricsType
get() = if (sharedPreferences.getString(LYRICS_TYPE, "0") == "0") {
LyricsType.REPLACE_LYRICS
} else {
LyricsType.OVER_LYRICS
}
}
enum class LyricsType {
REPLACE_LYRICS, OVER_LYRICS
}