fix: respect disableOfflineCheck setting on ConnectivityStore.start()
This commit is contained in:
@@ -91,6 +91,8 @@ export default class ConnectivityStore {
|
||||
@action
|
||||
public start = () => {
|
||||
if (this.netInfoUnsubscribe) return;
|
||||
if (this.settingsStore.settings?.networking?.disableOfflineCheck)
|
||||
return;
|
||||
|
||||
NetInfo.configure({
|
||||
reachabilityUrl: this.getReachabilityUrl(),
|
||||
|
||||
Reference in New Issue
Block a user