diff options
Diffstat (limited to 'ui/compose/src/main')
| -rw-r--r-- | ui/compose/src/main/kotlin/app/passwordstore/ui/compose/theme/Theme.kt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/compose/src/main/kotlin/app/passwordstore/ui/compose/theme/Theme.kt b/ui/compose/src/main/kotlin/app/passwordstore/ui/compose/theme/Theme.kt index 6d762fb4..a268c4b4 100644 --- a/ui/compose/src/main/kotlin/app/passwordstore/ui/compose/theme/Theme.kt +++ b/ui/compose/src/main/kotlin/app/passwordstore/ui/compose/theme/Theme.kt @@ -6,7 +6,6 @@ package app.passwordstore.ui.compose.theme import android.app.Activity -import android.os.Build import androidx.compose.foundation.isSystemInDarkTheme import androidx.compose.material3.MaterialTheme import androidx.compose.material3.darkColorScheme @@ -84,7 +83,7 @@ public fun APSTheme( ) { val colorScheme = when { - dynamicColor && Build.VERSION.SDK_INT >= Build.VERSION_CODES.S -> { + dynamicColor -> { val context = LocalContext.current if (darkTheme) { dynamicDarkColorScheme(context) |
