1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 04:35:57 +00:00

Fixed export/import

This commit is contained in:
M66B 2019-07-05 19:41:16 +02:00
parent 6f78a96682
commit f01235ba01

View file

@ -1048,7 +1048,7 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
else { else {
if (!export || password1.equals(password2)) { if (!export || password1.equals(password2)) {
((ActivitySetup) getActivity()).password = password1; ((ActivitySetup) getActivity()).password = password1;
startActivityForResult( getActivity().startActivityForResult(
Helper.getChooser(getContext(), Helper.getChooser(getContext(),
export ? getIntentExport() : getIntentImport()), export ? getIntentExport() : getIntentImport()),
export ? REQUEST_EXPORT : REQUEST_IMPORT); export ? REQUEST_EXPORT : REQUEST_IMPORT);