|
@ -210,6 +210,7 @@ public class FragmentSetup extends FragmentEx { |
|
|
prefs.edit().putString("theme", checked ? "dark" : "light").apply(); |
|
|
prefs.edit().putString("theme", checked ? "dark" : "light").apply(); |
|
|
} |
|
|
} |
|
|
} else { |
|
|
} else { |
|
|
|
|
|
tbDarkTheme.setChecked(false); |
|
|
FragmentTransaction fragmentTransaction = getFragmentManager().beginTransaction(); |
|
|
FragmentTransaction fragmentTransaction = getFragmentManager().beginTransaction(); |
|
|
fragmentTransaction.replace(R.id.content_frame, new FragmentPro()).addToBackStack("pro"); |
|
|
fragmentTransaction.replace(R.id.content_frame, new FragmentPro()).addToBackStack("pro"); |
|
|
fragmentTransaction.commit(); |
|
|
fragmentTransaction.commit(); |
|
|