|
@ -223,7 +223,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(); |
|
|
|
|
|
|
|
|
prefs.edit().remove("theme").apply(); |
|
|
if (checked) { |
|
|
if (checked) { |
|
|
tbDarkTheme.setChecked(false); |
|
|
tbDarkTheme.setChecked(false); |
|
|
FragmentTransaction fragmentTransaction = getFragmentManager().beginTransaction(); |
|
|
FragmentTransaction fragmentTransaction = getFragmentManager().beginTransaction(); |
|
|