I'm not sure but since we're reading `navigator.onLine` in `updateOnlineStatus` I instinctively think this is more consistent.