1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-29 11:15:51 +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 {
if (!export || password1.equals(password2)) {
((ActivitySetup) getActivity()).password = password1;
startActivityForResult(
getActivity().startActivityForResult(
Helper.getChooser(getContext(),
export ? getIntentExport() : getIntentImport()),
export ? REQUEST_EXPORT : REQUEST_IMPORT);