Jelajahi Sumber

Make payment page progress dialog dismissable

Neeraj Gupta 1 tahun lalu
induk
melakukan
ed71e8e47e
1 mengubah file dengan 5 tambahan dan 1 penghapusan
  1. 5 1
      lib/ui/payment/payment_web_page.dart

+ 5 - 1
lib/ui/payment/payment_web_page.dart

@@ -49,7 +49,11 @@ class _PaymentWebPageState extends State<PaymentWebPage> {
 
   @override
   Widget build(BuildContext context) {
-    _dialog = createProgressDialog(context, S.of(context).pleaseWait);
+    _dialog = createProgressDialog(
+      context,
+      S.of(context).pleaseWait,
+      isDismissible: true,
+    );
     if (initPaymentUrl == null) {
       return const EnteLoadingWidget();
     }