Fix setting the preferred theme

This commit is contained in:
Michael Schättgen 2019-05-15 22:23:13 +02:00
parent 9958f73926
commit 5ebb714d05

View file

@ -23,7 +23,7 @@ public abstract class AegisActivity extends AppCompatActivity {
_app = (AegisApplication) getApplication();
// set the theme and create the activity
setPreferredTheme(Theme.fromInteger(getPreferences().getCurrentTheme()));
setPreferredTheme(getPreferences().getCurrentTheme());
super.onCreate(savedInstanceState);
// if the app was killed, relaunch MainActivity and close everything else