Update: 2026-06-26 17:29:23
This commit is contained in:
@@ -144,7 +144,7 @@ class CRUD {
|
||||
} on SocketException catch (_) {
|
||||
Log.print('⚠️ SocketException attempt $attempts — $link');
|
||||
if (attempts >= 3) {
|
||||
_netGuard.notifyOnce((title, msg) => mySnackeBarError(msg));
|
||||
_netGuard.notifyOnce((title, msg) => mySnackbarError(msg));
|
||||
return 'no_internet';
|
||||
}
|
||||
await Future.delayed(Duration(seconds: attempts));
|
||||
|
||||
Reference in New Issue
Block a user