diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index ce47405c..21c13afb 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -62,7 +62,7 @@
android:configChanges="orientation|keyboardHidden"
android:excludeFromRecents="true"
android:noHistory="true"
- android:theme="@style/AppTheme.NoDisplay">
+ android:theme="@style/AppTheme.Dark.NoDisplay">
@@ -84,7 +84,7 @@
android:configChanges="orientation|keyboardHidden"
android:excludeFromRecents="true"
android:noHistory="true"
- android:theme="@style/AppTheme.NoDisplay" />
+ android:theme="@style/AppTheme.Dark.NoDisplay" />
diff --git a/app/src/main/java/pl/szczodrzynski/edziennik/utils/Themes.kt b/app/src/main/java/pl/szczodrzynski/edziennik/utils/Themes.kt
index e0dbb553..e2189f71 100644
--- a/app/src/main/java/pl/szczodrzynski/edziennik/utils/Themes.kt
+++ b/app/src/main/java/pl/szczodrzynski/edziennik/utils/Themes.kt
@@ -1,14 +1,9 @@
package pl.szczodrzynski.edziennik.utils
import android.content.Context
-import android.graphics.Color
-
import androidx.annotation.StringRes
import androidx.annotation.StyleRes
-import androidx.core.graphics.ColorUtils
-
import pl.szczodrzynski.edziennik.R
-
import pl.szczodrzynski.navlib.getColorFromAttr
object Themes {
@@ -49,7 +44,7 @@ object Themes {
val appThemeNoDisplay: Int
- get() = if (theme.isDark) R.style.AppThemeDark_NoDisplay else R.style.AppTheme_NoDisplay
+ get() = if (theme.isDark) R.style.AppTheme_Dark_NoDisplay else R.style.AppTheme_Light_NoDisplay
val appTheme: Int
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index 52f26f20..9983ecf0 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -10,63 +10,65 @@
- @drawable/dead_background
-
-