mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 17:43:32 +00:00
Apply dynamic colors if available
This commit is contained in:
parent
5fbbf4b0c2
commit
0d52f38f84
1 changed files with 2 additions and 0 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue