HELP popup en setting recreate nu na een switch ding switchen q8)
This commit is contained in:
@@ -99,10 +99,12 @@ public class SettingsFragment extends Fragment {
|
||||
if(fontSwitch.isChecked())
|
||||
{
|
||||
requireActivity().setTheme(R.style.Theme_NextLocationBig);
|
||||
getActivity().recreate();
|
||||
}
|
||||
if(!fontSwitch.isChecked())
|
||||
{
|
||||
requireActivity().setTheme(R.style.Theme_NextLocation);;
|
||||
requireActivity().setTheme(R.style.Theme_NextLocation);
|
||||
getActivity().recreate();
|
||||
}
|
||||
editor.putBoolean("fontSwitch",fontSwitch.isChecked());
|
||||
editor.apply();
|
||||
|
||||
Reference in New Issue
Block a user