From f01235ba0165fb8321787ca8d05ca392b4e5c884 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 5 Jul 2019 19:41:16 +0200 Subject: [PATCH] Fixed export/import --- app/src/main/java/eu/faircode/email/ActivitySetup.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/ActivitySetup.java b/app/src/main/java/eu/faircode/email/ActivitySetup.java index 5bfc90b63c..65d02113da 100644 --- a/app/src/main/java/eu/faircode/email/ActivitySetup.java +++ b/app/src/main/java/eu/faircode/email/ActivitySetup.java @@ -1048,7 +1048,7 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac else { if (!export || password1.equals(password2)) { ((ActivitySetup) getActivity()).password = password1; - startActivityForResult( + getActivity().startActivityForResult( Helper.getChooser(getContext(), export ? getIntentExport() : getIntentImport()), export ? REQUEST_EXPORT : REQUEST_IMPORT);