1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-23 03:33:59 +00:00

ClearExtensionCiphersCache

This commit is contained in:
Kyle Spearrin
2018-12-10 11:48:35 -05:00
parent a8c18cf83a
commit 3b9f4433ad
9 changed files with 43 additions and 4 deletions

View File

@@ -7,6 +7,15 @@ namespace Bit.iOS.Core.Services
{
public class DeviceInfoService : IDeviceInfoService
{
public DeviceInfoService()
: this(false)
{ }
public DeviceInfoService(bool isExtension)
{
IsExtension = isExtension;
}
public string Type => Xamarin.Forms.Device.iOS;
public string Model => UIDevice.CurrentDevice.Model;
public int Version
@@ -45,5 +54,6 @@ namespace Bit.iOS.Core.Services
return context.BiometryType == LABiometryType.FaceId;
}
}
public bool IsExtension { get; private set; }
}
}