|
@ -101,10 +101,9 @@ public class FragmentSetup extends FragmentEx { |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
static final List<String> EXPORT_SETTINGS = Arrays.asList( |
|
|
static final List<String> EXPORT_SETTINGS = Arrays.asList( |
|
|
"compress", |
|
|
|
|
|
"avatars", |
|
|
"avatars", |
|
|
"light", |
|
|
"light", |
|
|
"theme" |
|
|
|
|
|
|
|
|
"sort" |
|
|
); |
|
|
); |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
@ -221,6 +220,7 @@ public class FragmentSetup extends FragmentEx { |
|
|
prefs.edit().putString("theme", checked ? "dark" : "light").apply(); |
|
|
prefs.edit().putString("theme", checked ? "dark" : "light").apply(); |
|
|
} |
|
|
} |
|
|
} else { |
|
|
} else { |
|
|
|
|
|
prefs.edit().putString("theme", "light").apply(); |
|
|
if (checked) { |
|
|
if (checked) { |
|
|
tbDarkTheme.setChecked(false); |
|
|
tbDarkTheme.setChecked(false); |
|
|
FragmentTransaction fragmentTransaction = getFragmentManager().beginTransaction(); |
|
|
FragmentTransaction fragmentTransaction = getFragmentManager().beginTransaction(); |
|
|