mirror of
https://github.com/bitwarden/mobile
synced 2025-12-15 15:53:44 +00:00
check internet connection
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user