Apply theme color to navigation bar

This commit is contained in:
seven332 committed 2018-12-14 20:20:22 +08:00
1 parent e8de8ac5c8
commit 419405f4e2
9 files changed
+40

No files matched your search

@@ -252,6 +252,13 @@ public class Settings {
putIntToStr(KEY_THEME, theme);
}
public static final String KEY_APPLY_NAV_BAR_THEME_COLOR = "apply_nav_bar_theme_color";
private static final boolean DEFAULT_APPLY_NAV_BAR_THEME_COLOR = false;
public static boolean getApplyNavBarThemeColor() {
return getBoolean(KEY_APPLY_NAV_BAR_THEME_COLOR, DEFAULT_APPLY_NAV_BAR_THEME_COLOR);
}
public static final String KEY_GALLERY_SITE = "gallery_site";
private static final int DEFAULT_GALLERY_SITE = 1;