Files
mattermost-mobile/patches/@react-native-community+netinfo+9.3.7.patch
Elias Nahum 83b251d1ff update dependencies (#6840)
* update dependencies

* fix iOS SQLite.swift

* update fastlane dependencies
2022-12-08 09:46:44 +02:00

34 lines
1.5 KiB
Diff

diff --git a/node_modules/@react-native-community/netinfo/src/internal/internetReachability.ts b/node_modules/@react-native-community/netinfo/src/internal/internetReachability.ts
index ed49fb7..23dc6ae 100644
--- a/node_modules/@react-native-community/netinfo/src/internal/internetReachability.ts
+++ b/node_modules/@react-native-community/netinfo/src/internal/internetReachability.ts
@@ -109,20 +109,20 @@ export default class InternetReachability {
const nextTimeoutInterval = this._isInternetReachable
? this._configuration.reachabilityLongTimeout
: this._configuration.reachabilityShortTimeout;
- this._currentTimeoutHandle = setTimeout(
- this._checkInternetReachability,
- nextTimeoutInterval,
- );
+ // this._currentTimeoutHandle = setTimeout(
+ // this._checkInternetReachability,
+ // nextTimeoutInterval,
+ // );
},
)
.catch(
(error: Error | 'timedout' | 'canceled'): void => {
if (error !== 'canceled') {
this._setIsInternetReachable(false);
- this._currentTimeoutHandle = setTimeout(
- this._checkInternetReachability,
- this._configuration.reachabilityShortTimeout,
- );
+ // this._currentTimeoutHandle = setTimeout(
+ // this._checkInternetReachability,
+ // this._configuration.reachabilityShortTimeout,
+ // );
}
},
)