From 2f96393a89f9155f26e8e45c4cce35ea9be1bb89 Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Fri, 26 Jul 2024 15:14:04 +0700 Subject: [PATCH] Apply dynamic colors to all acitvites Signed-off-by: Aayush Gupta --- app/src/main/java/com/stevesoltys/seedvault/App.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/com/stevesoltys/seedvault/App.kt b/app/src/main/java/com/stevesoltys/seedvault/App.kt index 053af85f..9389eb05 100644 --- a/app/src/main/java/com/stevesoltys/seedvault/App.kt +++ b/app/src/main/java/com/stevesoltys/seedvault/App.kt @@ -20,6 +20,7 @@ import android.os.UserManager import android.provider.Settings import androidx.work.ExistingPeriodicWorkPolicy.UPDATE import androidx.work.WorkManager +import com.google.android.material.color.DynamicColors import com.stevesoltys.seedvault.crypto.cryptoModule import com.stevesoltys.seedvault.header.headerModule import com.stevesoltys.seedvault.metadata.MetadataManager @@ -114,6 +115,7 @@ open class App : Application() { override fun onCreate() { super.onCreate() + DynamicColors.applyToActivitiesIfAvailable(this) startKoin() if (isDebugBuild()) { StrictMode.setThreadPolicy(