Aperture: Add action bar in settings
Change-Id: Id90f7c7f6cf1ea4fa28d98169348497ef4532849
diff --git a/app/src/main/java/org/lineageos/aperture/MainActivity.kt b/app/src/main/java/org/lineageos/aperture/MainActivity.kt
index 36887c9..c9842ad 100644
--- a/app/src/main/java/org/lineageos/aperture/MainActivity.kt
+++ b/app/src/main/java/org/lineageos/aperture/MainActivity.kt
@@ -147,7 +147,9 @@
@androidx.camera.view.video.ExperimentalVideo
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
+
hideStatusBars()
+ supportActionBar?.hide()
setContentView(R.layout.activity_main)
setShowWhenLocked(true)
diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml
index 8229384..ff6d37e 100644
--- a/app/src/main/res/values/themes.xml
+++ b/app/src/main/res/values/themes.xml
@@ -1,6 +1,6 @@
<resources>
<!-- Base application theme. -->
- <style name="Theme.Aperture" parent="Theme.Material3.Dark.NoActionBar">
+ <style name="Theme.Aperture" parent="Theme.Material3.Dark">
<!-- Primary brand color. -->
<item name="colorPrimary">@color/white</item>
<item name="colorPrimaryVariant">@color/white</item>