diff --git a/src/pandroid/app/src/main/java/com/panda3ds/pandroid/app/PandroidApplication.java b/src/pandroid/app/src/main/java/com/panda3ds/pandroid/app/PandroidApplication.java index b0cdc935f..1b627375f 100644 --- a/src/pandroid/app/src/main/java/com/panda3ds/pandroid/app/PandroidApplication.java +++ b/src/pandroid/app/src/main/java/com/panda3ds/pandroid/app/PandroidApplication.java @@ -12,6 +12,8 @@ import com.panda3ds.pandroid.data.config.GlobalConfig; import com.panda3ds.pandroid.input.InputMap; import com.panda3ds.pandroid.utils.GameUtils; +import com.google.android.material.color.DynamicColors; +import com.google.android.material.color.DynamicColorsOptions; public class PandroidApplication extends Application { @@ -27,6 +29,12 @@ public void onCreate() { InputMap.initialize(); AlberDriver.Setup(); + DynamicColorsOptions dynamicColorsOptions = new DynamicColorsOptions.Builder() + .build(); + + DynamicColors.applyToActivitiesIfAvailable(this, dynamicColorsOptions); + + if (GlobalConfig.get(GlobalConfig.KEY_LOGGER_SERVICE)) { startService(new Intent(this, LoggerService.class)); }