Przeglądaj źródła

Fix progress dialog color

Vishnu Mohandas 4 lat temu
rodzic
commit
2c5f7b97c4
1 zmienionych plików z 1 dodań i 1 usunięć
  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(
   dialog.style(
     message: message,
     message: message,
     messageTextStyle: TextStyle(color: Colors.white),
     messageTextStyle: TextStyle(color: Colors.white),
-    backgroundColor: Colors.grey[850],
+    backgroundColor: Theme.of(context).cardColor,
     progressWidget: loadWidget,
     progressWidget: loadWidget,
     borderRadius: 4.0,
     borderRadius: 4.0,
     elevation: 10.0,
     elevation: 10.0,