We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c67d90 commit 36e4fe5Copy full SHA for 36e4fe5
lib/Screens/home_page.dart
@@ -71,7 +71,7 @@ class _HomePageState extends State<HomePage> {
71
setState(() => isAlertSet = false);
72
isDeviceConnected =
73
await InternetConnectionChecker().hasConnection;
74
- if (!isDeviceConnected) {
+ if (!isDeviceConnected && isAlertSet == false) {
75
showDialogBox();
76
setState(() => isAlertSet = true);
77
}
0 commit comments