Browse Source

Dismiss dialog

vishnukvmd 2 years ago
parent
commit
e91032c281
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/ui/code_widget.dart

+ 1 - 0
lib/ui/code_widget.dart

@@ -153,6 +153,7 @@ class _CodeWidgetState extends State<CodeWidget> {
           ),
           onPressed: () {
             CodeStore.instance.removeCode(widget.code);
+            Navigator.of(context, rootNavigator: true).pop('dialog');
           },
         ),
         TextButton(