This PR updates the online status check mechanism in the OnlineStatusProvider component. Previously, the online status was determined using navigator.onLine and navigator.connection?.type !== "unknown". This has been changed to use navigator.onLine and navigator.connection?.downlink !== 0 to provide a more accurate determination of the online status.
This PR updates the online status check mechanism in the OnlineStatusProvider component. Previously, the online status was determined using
navigator.onLine
andnavigator.connection?.type !== "unknown"
. This has been changed to usenavigator.onLine
andnavigator.connection?.downlink !== 0
to provide a more accurate determination of the online status.