mirror of
https://github.com/bitwarden/mobile.git
synced 2025-01-29 22:21:25 +01:00
check internet connection
This commit is contained in:
parent
eadba95d5f
commit
44530b63ca
@ -308,6 +308,10 @@ namespace Bit.App
|
||||
{
|
||||
return;
|
||||
}
|
||||
if(Xamarin.Essentials.Connectivity.NetworkAccess == Xamarin.Essentials.NetworkAccess.None)
|
||||
{
|
||||
return;
|
||||
}
|
||||
Task.Run(async () =>
|
||||
{
|
||||
var lastSync = await _syncService.GetLastSyncAsync();
|
||||
|
Loading…
Reference in New Issue
Block a user