Fix setting the preferred theme

pull/86/head
Michael Schättgen 6 years ago
parent 9958f73926
commit 5ebb714d05

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

Loading…
Cancel
Save