diff --git a/app/src/main/kotlin/io/github/shadow578/yodel/YodelApp.kt b/app/src/main/kotlin/io/github/shadow578/yodel/YodelApp.kt index 82ec46e..1578e9f 100644 --- a/app/src/main/kotlin/io/github/shadow578/yodel/YodelApp.kt +++ b/app/src/main/kotlin/io/github/shadow578/yodel/YodelApp.kt @@ -2,6 +2,7 @@ package io.github.shadow578.yodel import android.app.Application import androidx.preference.PreferenceManager +import com.google.android.material.color.DynamicColors import io.github.shadow578.yodel.db.TracksDB import io.github.shadow578.yodel.util.* import io.github.shadow578.yodel.util.preferences.PreferenceWrapper @@ -18,6 +19,9 @@ class YodelApp : Application() { if (BuildConfig.DEBUG) Timber.plant(Timber.DebugTree()) + // apply material3 dynamic colors + DynamicColors.applyToActivitiesIfAvailable(this) + // initialize stuff PreferenceWrapper.init(PreferenceManager.getDefaultSharedPreferences(this)) NotificationChannels.registerAll(this) diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml index 7353dbd..ef49c99 100644 --- a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -2,4 +2,5 @@ + \ No newline at end of file diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml index 7353dbd..ef49c99 100644 --- a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -2,4 +2,5 @@ + \ No newline at end of file diff --git a/app/src/main/res/values-night/themes.xml b/app/src/main/res/values-night/themes.xml index 17827f9..18bdc4c 100644 --- a/app/src/main/res/values-night/themes.xml +++ b/app/src/main/res/values-night/themes.xml @@ -1,5 +1,5 @@ - -