Update gradle and dependencies

This commit is contained in:
Alexander Bakker 2022-08-03 20:38:10 +02:00
parent 043b17909c
commit f73a64acd6
4 changed files with 27 additions and 23 deletions

View file

@ -45,7 +45,7 @@ public abstract class AegisActivity extends AppCompatActivity implements VaultMa
@Override
protected void onCreate(Bundle savedInstanceState) {
// set the theme and locale before creating the activity
_prefs = EarlyEntryPoints.get(this, PrefEntryPoint.class).getPreferences();
_prefs = EarlyEntryPoints.get(getApplicationContext(), PrefEntryPoint.class).getPreferences();
onSetTheme();
setLocale(_prefs.getLocale());
super.onCreate(savedInstanceState);