From adb4f8303c30eac030871fcfe73b433138a182dd Mon Sep 17 00:00:00 2001 From: Evan You Date: Sun, 30 Mar 2025 19:01:30 +0800 Subject: [PATCH] optimize ui --- app/build.gradle.kts | 4 ++-- app/src/main/java/com/donut/mixfile/ui/theme/Theme.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 9a2c871..1125412 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -15,8 +15,8 @@ android { applicationId = "com.donut.mixfile" minSdk = 26 targetSdk = 35 - versionCode = 98 - versionName = "1.12.15" + versionCode = 99 + versionName = "1.12.16" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" vectorDrawables { diff --git a/app/src/main/java/com/donut/mixfile/ui/theme/Theme.kt b/app/src/main/java/com/donut/mixfile/ui/theme/Theme.kt index 7c148c4..429664f 100644 --- a/app/src/main/java/com/donut/mixfile/ui/theme/Theme.kt +++ b/app/src/main/java/com/donut/mixfile/ui/theme/Theme.kt @@ -98,7 +98,7 @@ fun MainTheme( } val window = (view.context as Activity).window window.statusBarColor = colorScheme.surface.toArgb() - window.navigationBarColor = Color.Transparent.toArgb() + window.navigationBarColor = colorScheme.surface.toArgb() WindowCompat.getInsetsController(window, view).apply { isAppearanceLightNavigationBars = true isAppearanceLightNavigationBars = false