mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 02:18:27 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
if(Xamarin.Essentials.Connectivity.NetworkAccess == Xamarin.Essentials.NetworkAccess.None)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
Task.Run(async () =>
|
Task.Run(async () =>
|
||||||
{
|
{
|
||||||
var lastSync = await _syncService.GetLastSyncAsync();
|
var lastSync = await _syncService.GetLastSyncAsync();
|
||||||
|
|
Loading…
Reference in a new issue