fix: Import session on iOS

This commit is contained in:
Christian Pauly 2022-11-15 12:51:14 +01:00
parent eb3a9ce7e4
commit 7e6a424b3e

View File

@ -180,8 +180,7 @@ class HomeserverPickerController extends State<HomeserverPicker> {
} }
Future<void> restoreBackup() async { Future<void> restoreBackup() async {
final file = final file = await FilePickerCross.importFromStorage();
await FilePickerCross.importFromStorage(fileExtension: '.fluffybackup');
if (file.fileName == null) return; if (file.fileName == null) return;
await showFutureLoadingDialog( await showFutureLoadingDialog(
context: context, context: context,