Kaynağa Gözat

Fix progress dialog color

Vishnu Mohandas 4 yıl önce
ebeveyn
işleme
2c5f7b97c4
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      lib/utils/dialog_util.dart

+ 1 - 1
lib/utils/dialog_util.dart

@@ -12,7 +12,7 @@ ProgressDialog createProgressDialog(BuildContext context, String message) {
   dialog.style(
     message: message,
     messageTextStyle: TextStyle(color: Colors.white),
-    backgroundColor: Colors.grey[850],
+    backgroundColor: Theme.of(context).cardColor,
     progressWidget: loadWidget,
     borderRadius: 4.0,
     elevation: 10.0,