[Now Playing] Default Album cover theme for Now playing themes

This commit is contained in:
Prathamesh More 2021-12-09 21:56:16 +05:30
parent 766f62a1b7
commit 4b857f6088
2 changed files with 22 additions and 18 deletions

View file

@ -561,6 +561,8 @@ object PreferenceUtil {
}
set(value) = sharedPreferences.edit {
putInt(NOW_PLAYING_SCREEN_ID, value.id)
// Also set a cover theme for that now playing
value.defaultCoverTheme?.let { coverTheme -> albumCoverStyle = coverTheme }
}
val albumCoverTransform: ViewPager.PageTransformer