Skip to content

Commit 36e4fe5

Browse files
refactor
1 parent 6c67d90 commit 36e4fe5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Screens/home_page.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class _HomePageState extends State<HomePage> {
7171
setState(() => isAlertSet = false);
7272
isDeviceConnected =
7373
await InternetConnectionChecker().hasConnection;
74-
if (!isDeviceConnected) {
74+
if (!isDeviceConnected && isAlertSet == false) {
7575
showDialogBox();
7676
setState(() => isAlertSet = true);
7777
}

0 commit comments

Comments
 (0)