mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 01:48:25 +03:00
check internet connection
This commit is contained in:
parent
eadba95d5f
commit
44530b63ca
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue