Re-apply accent

pull/493/head
Alex Baker 9 years ago
parent 7c6809cf72
commit a1f4486eb2

@ -199,9 +199,8 @@ public class TaskListActivity extends InjectingAppCompatActivity implements
ThemeColor filterColor = getFilterColor();
filterColor.applyToStatusBar(drawerLayout);
filterColor.applyTaskDescription(this, filter.listingTitle);
filterColor.applyStyle(getTheme());
theme.withThemeColor(filterColor).applyToContext(this);
FragmentManager fragmentManager = getSupportFragmentManager();
fragmentManager.popBackStackImmediate(null, FragmentManager.POP_BACK_STACK_INCLUSIVE);

@ -28,6 +28,10 @@ public class Theme {
return new Theme(themeBase, themeColor, themeAccent);
}
public Theme withThemeColor(ThemeColor themeColor) {
return new Theme(themeBase, themeColor, themeAccent);
}
public ThemeBase getThemeBase() {
return themeBase;
}

Loading…
Cancel
Save