1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-20 02:03:49 +00:00

check internet connection before calling server

This commit is contained in:
Kyle Spearrin
2019-06-03 22:43:52 -04:00
parent b38b801963
commit e03cf94441
14 changed files with 120 additions and 3 deletions

View File

@@ -112,7 +112,8 @@ namespace Bit.App.Pages
if(fuzzy)
{
var options = new List<string> { AppResources.Yes };
if(cipher.Type == CipherType.Login)
if(cipher.Type == CipherType.Login &&
Xamarin.Essentials.Connectivity.NetworkAccess != Xamarin.Essentials.NetworkAccess.None)
{
options.Add(AppResources.YesAndSave);
}