Browse Source

Handled error state properly on enabling password lock for public link

ashilkn 2 years ago
parent
commit
4ed337b539
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/ui/sharing/manage_links_widget.dart

+ 1 - 0
lib/ui/sharing/manage_links_widget.dart

@@ -288,6 +288,7 @@ class _ManageSharedLinkWidgetState extends State<ManageSharedLinkWidget> {
     } catch (e) {
     } catch (e) {
       await dialog?.hide();
       await dialog?.hide();
       await showGenericErrorDialog(context: context);
       await showGenericErrorDialog(context: context);
+      rethrow;
     }
     }
   }
   }
 }
 }