|
|
@ -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,
|
|
|
|