diff --git a/storage/demo/src/main/java/de/grobox/storagebackuptester/App.kt b/storage/demo/src/main/java/de/grobox/storagebackuptester/App.kt index da045dca..1cd46e13 100644 --- a/storage/demo/src/main/java/de/grobox/storagebackuptester/App.kt +++ b/storage/demo/src/main/java/de/grobox/storagebackuptester/App.kt @@ -9,6 +9,7 @@ import android.app.Application import android.os.StrictMode import android.os.StrictMode.VmPolicy import android.util.Log +import com.google.android.material.color.DynamicColors import de.grobox.storagebackuptester.crypto.KeyManager import de.grobox.storagebackuptester.plugin.TestSafBackend import de.grobox.storagebackuptester.settings.SettingsManager @@ -26,6 +27,7 @@ class App : Application() { override fun onCreate() { super.onCreate() + DynamicColors.applyToActivitiesIfAvailable(this) StrictMode.setThreadPolicy( StrictMode.ThreadPolicy.Builder() .detectAll() diff --git a/storage/demo/src/main/res/values-night/themes.xml b/storage/demo/src/main/res/values-night/themes.xml index a28b5932..c3c9d946 100644 --- a/storage/demo/src/main/res/values-night/themes.xml +++ b/storage/demo/src/main/res/values-night/themes.xml @@ -4,7 +4,7 @@ --> -