ToolBar in Settings was blue, and is now of the same color as the toolbar in the main activity

pull/672/head
Armand Douce 5 years ago
parent 008902d3b7
commit c5a8334c63

@ -52,7 +52,7 @@ public class SettingsActivity extends BaseActivity
int color = BaseScreen.getDefaultActionBarColor(this); int color = BaseScreen.getDefaultActionBarColor(this);
if (res.getBoolean(R.attr.useHabitColorAsPrimary)) if (res.getBoolean(R.attr.useHabitColorAsPrimary))
color = res.getColor(R.attr.aboutScreenColor); color = res.getColor(R.attr.colorPrimary);
BaseScreen.setupActionBarColor(this, color); BaseScreen.setupActionBarColor(this, color);
} }

Loading…
Cancel
Save