Prevent crash

This commit is contained in:
M66B 2023-04-12 07:23:12 +02:00
parent 4d43d05587
commit 9411ca148e
1 changed files with 1 additions and 1 deletions

View File

@ -1282,7 +1282,7 @@ public class FragmentCompose extends FragmentBase {
protected Long onExecute(Context context, Bundle args) throws Throwable {
String email = args.getString("email");
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
boolean auto_identity = prefs.getBoolean("auto_identity", false);
boolean suggest_sent = prefs.getBoolean("suggest_sent", true);
boolean suggest_received = prefs.getBoolean("suggest_received", false);