mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-01 07:03:35 +00:00
Apply dynamic colors if available
This commit is contained in:
@@ -11,6 +11,7 @@ import com.cappielloantonio.play.helper.ThemeHelper;
|
||||
import com.cappielloantonio.play.subsonic.Subsonic;
|
||||
import com.cappielloantonio.play.subsonic.SubsonicPreferences;
|
||||
import com.cappielloantonio.play.util.PreferenceUtil;
|
||||
import com.google.android.material.color.DynamicColors;
|
||||
|
||||
public class App extends Application {
|
||||
private static final String TAG = "App";
|
||||
@@ -21,6 +22,7 @@ public class App extends Application {
|
||||
public void onCreate() {
|
||||
super.onCreate();
|
||||
|
||||
DynamicColors.applyToActivitiesIfAvailable(this);
|
||||
CrashReporter.initialize(this);
|
||||
|
||||
SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(getApplicationContext());
|
||||
|
||||
Reference in New Issue
Block a user