aboutsummaryrefslogtreecommitdiff
path: root/ui/compose
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2024-08-08 02:46:08 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2024-08-08 03:34:14 +0530
commite8cdc2077f295cf61ed7157f8ae2cdbb53c39054 (patch)
treeefc3d7b56d13c9962d4b32bba5375b1d00cc87e5 /ui/compose
parent4eb8f497d598c731a3628c7ae71a398ac462cfc0 (diff)
fix(build): compile against SDK 35
Diffstat (limited to 'ui/compose')
-rw-r--r--ui/compose/src/main/kotlin/app/passwordstore/ui/compose/theme/Theme.kt3
1 files changed, 0 insertions, 3 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 6827e01a..cf122f20 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
@@ -10,8 +10,6 @@ import androidx.compose.material3.dynamicLightColorScheme
import androidx.compose.material3.lightColorScheme
import androidx.compose.runtime.Composable
import androidx.compose.runtime.SideEffect
-import androidx.compose.ui.graphics.Color
-import androidx.compose.ui.graphics.toArgb
import androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.platform.LocalView
import androidx.core.view.WindowCompat
@@ -95,7 +93,6 @@ public fun APSTheme(
if (!view.isInEditMode) {
SideEffect {
val window = (view.context as Activity).window
- window.statusBarColor = Color.Transparent.toArgb()
WindowCompat.getInsetsController(window, view).isAppearanceLightStatusBars = !darkTheme
}
}