Browse Source

Fix online app state not being set during goodbye state

pull/2366/head
Gabe Kangas 3 years ago
parent
commit
4838562af8
No known key found for this signature in database
GPG Key ID: 9A56337728BC81EA
  1. 2
      web/components/stores/ClientConfigStore.tsx

2
web/components/stores/ClientConfigStore.tsx

@ -185,7 +185,7 @@ export const ClientConfigStore: FC = () => { @@ -185,7 +185,7 @@ export const ClientConfigStore: FC = () => {
return;
}
if (status.online && appState.matches('ready.offline')) {
if (status.online && appState.matches('ready')) {
sendEvent(AppStateEvent.Online);
} else if (!status.online && !appState.matches('ready.offline')) {
sendEvent(AppStateEvent.Offline);

Loading…
Cancel
Save