Browse Source

Fixed dark pro

main
M66B 6 years ago
parent
commit
2bed63983a
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/src/main/java/eu/faircode/email/FragmentSetup.java

+ 1
- 0
app/src/main/java/eu/faircode/email/FragmentSetup.java View File

@ -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();


Loading…
Cancel
Save