remove most ThemeStore uses for accent colors

This commit is contained in:
dkanada 2021-06-12 13:48:48 +09:00
commit aa5f0c5619
20 changed files with 52 additions and 78 deletions

View file

@ -11,7 +11,6 @@ import androidx.room.Room;
import com.dkanada.gramophone.database.JellyDatabase;
import com.dkanada.gramophone.helper.EventListener;
import com.dkanada.gramophone.util.PreferenceUtil;
import com.kabouzeid.appthemehelper.ThemeStore;
import com.dkanada.gramophone.views.shortcuts.DynamicShortcutManager;
import com.melegy.redscreenofdeath.RedScreenOfDeath;
@ -46,10 +45,6 @@ public class App extends Application {
PreferenceUtil.getInstance(this).setUser(null);
}
if (!ThemeStore.isConfigured(this, 1)) {
ThemeStore.editTheme(this).primaryColorRes(R.color.md_indigo_500).accentColorRes(R.color.md_pink_A400).commit();
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
new DynamicShortcutManager(this).initDynamicShortcuts();
}