mProfileListAdapter.notifyDataSetChanged();
- int newProfileTheme = haveProfile ? profile.getThemeId() : -1;
+ int newProfileTheme = haveProfile ? profile.getThemeHue() : -1;
if (newProfileTheme != Colors.profileThemeId) {
debug("profiles",
String.format(Locale.ENGLISH, "profile theme %d → %d", Colors.profileThemeId,
Bundle bundle = new Bundle();
onSaveInstanceState(bundle);
- storeThemeIdInPrefs(profile.getThemeId());
+ storeThemeIdInPrefs(profile.getThemeHue());
// restart activity to reflect theme change
finish();
startActivity(intent);
overridePendingTransition(R.anim.slide_in_up, R.anim.dummy);
}
- public void navSettingsClicked(View view) {
- Intent intent = new Intent(this, SettingsActivity.class);
- startActivity(intent);
- drawer.closeDrawers();
- }
public void markDrawerItemCurrent(int id) {
TextView item = drawer.findViewById(id);
item.setBackgroundColor(Colors.tableRowDarkBG);