Prevent loop

pull/145/head
M66B 6 years ago
parent 31a8731c21
commit cc31a5fd31

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

Loading…
Cancel
Save