removing a redundant check, all apps will have compileSDK 31+ now
This commit is contained in:
parent
2e76f7816b
commit
7b2ff0b5a0
1 changed files with 1 additions and 2 deletions
|
@ -4,7 +4,6 @@ import android.content.Intent
|
||||||
import android.graphics.Color
|
import android.graphics.Color
|
||||||
import android.graphics.drawable.LayerDrawable
|
import android.graphics.drawable.LayerDrawable
|
||||||
import android.graphics.drawable.RippleDrawable
|
import android.graphics.drawable.RippleDrawable
|
||||||
import android.os.Build
|
|
||||||
import android.os.Bundle
|
import android.os.Bundle
|
||||||
import android.view.Menu
|
import android.view.Menu
|
||||||
import android.view.MenuItem
|
import android.view.MenuItem
|
||||||
|
@ -142,7 +141,7 @@ class CustomizationActivity : BaseSimpleActivity() {
|
||||||
|
|
||||||
private fun setupThemes() {
|
private fun setupThemes() {
|
||||||
predefinedThemes.apply {
|
predefinedThemes.apply {
|
||||||
if (isSPlus() && applicationInfo.compileSdkVersion >= Build.VERSION_CODES.S) {
|
if (isSPlus()) {
|
||||||
put(THEME_SYSTEM, getSystemThemeColors())
|
put(THEME_SYSTEM, getSystemThemeColors())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue