diff --git a/app/src/main/java/com/github/capntrips/kernelflasher/MainActivity.kt b/app/src/main/java/com/github/capntrips/kernelflasher/MainActivity.kt
index 230f5904..1de0800a 100644
--- a/app/src/main/java/com/github/capntrips/kernelflasher/MainActivity.kt
+++ b/app/src/main/java/com/github/capntrips/kernelflasher/MainActivity.kt
@@ -11,6 +11,7 @@ import android.os.IBinder
import android.util.Log
import android.view.View
import android.view.ViewTreeObserver
+import android.view.Window
import android.view.animation.AccelerateInterpolator
import androidx.activity.ComponentActivity
import androidx.activity.compose.BackHandler
@@ -130,9 +131,10 @@ class MainActivity : ComponentActivity() {
}
override fun onCreate(savedInstanceState: Bundle?) {
- WindowCompat.setDecorFitsSystemWindows(window, false)
+ requestWindowFeature(Window.FEATURE_NO_TITLE) // Hide the title bar
val splashScreen = installSplashScreen()
super.onCreate(savedInstanceState)
+ WindowCompat.setDecorFitsSystemWindows(window, false)
splashScreen.setOnExitAnimationListener { splashScreenView ->
val scale = ObjectAnimator.ofPropertyValuesHolder(
diff --git a/app/src/main/res/values-night/themes.xml b/app/src/main/res/values-night/themes.xml
index 800c6003..dd3c05a2 100644
--- a/app/src/main/res/values-night/themes.xml
+++ b/app/src/main/res/values-night/themes.xml
@@ -3,5 +3,7 @@
\ No newline at end of file
diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml
index 651359f8..f4c4c8a7 100644
--- a/app/src/main/res/values/themes.xml
+++ b/app/src/main/res/values/themes.xml
@@ -3,6 +3,8 @@