Enable Material You by default on A12
This commit is contained in:
parent
e187b13912
commit
5db550ccd2
1 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@ import androidx.core.content.ContextCompat
|
|||
import androidx.core.content.edit
|
||||
import androidx.preference.PreferenceManager
|
||||
import androidx.viewpager.widget.ViewPager
|
||||
import code.name.monkey.appthemehelper.util.VersionUtils
|
||||
import code.name.monkey.retromusic.*
|
||||
import code.name.monkey.retromusic.extensions.getIntRes
|
||||
import code.name.monkey.retromusic.extensions.getStringOrDefault
|
||||
|
@ -615,5 +616,5 @@ object PreferenceUtil {
|
|||
.getInt(CROSS_FADE_DURATION, 0)
|
||||
|
||||
val materialYou
|
||||
get() = sharedPreferences.getBoolean(MATERIAL_YOU, false)
|
||||
get() = sharedPreferences.getBoolean(MATERIAL_YOU, VersionUtils.hasS())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue