diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-05 12:05:44 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-05 12:10:18 +0100 |
| commit | c85e7c8801caf7a73b46dda9ebf75be023cad9b4 (patch) | |
| tree | c180a57fd54e9b09e84297f9fc51670bf5f4bfab /ui | |
| parent | 73486a180ba3ead1890924920094e7e678a8ef76 (diff) | |
| download | HardenedPass-c85e7c8801caf7a73b46dda9ebf75be023cad9b4.tar.gz HardenedPass-c85e7c8801caf7a73b46dda9ebf75be023cad9b4.zip | |
build: raise minSdk to 31
The project targets GrapheneOS, which only runs current Android. Android 12
gives the platform night mode API and removes the fingerprint dialog path that
needs AppCompat. Devices below it stay on 0.2.0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'ui')
| -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) |
