We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5668642 commit 299c902Copy full SHA for 299c902
app/src/main/java/fr/gaulupeau/apps/Poche/ui/Themes.java
@@ -37,12 +37,12 @@ public static Theme getCurrentTheme() {
37
38
static void applyTheme(Activity activity) {
39
applyTheme(activity, true);
40
- applyDarkTheme();
41
}
42
43
static void applyTheme(Activity activity, boolean actionBar) {
44
activity.setTheme(actionBar ? theme.getResId() : theme.getNoActionBarResId());
45
appliedThemes.put(activity, theme);
+ applyDarkTheme();
46
47
48
private static void applyDarkTheme() {
@@ -61,6 +61,7 @@ private static void applyDarkTheme() {
61
static void applyDialogTheme(final Activity activity) {
62
activity.setTheme(theme.getDialogResId());
63
64
65
66
67
public static void checkTheme(Activity activity) {
0 commit comments