mirror of
https://github.com/bitwarden/mobile
synced 2026-01-04 17:43:17 +00:00
add type to deviceinfo to avoid using XF
This commit is contained in:
@@ -13,6 +13,7 @@ namespace Bit.UWP.Services
|
||||
{
|
||||
private const string SmartCardEmulatorType = "Windows.Devices.SmartCards.SmartCardEmulator";
|
||||
|
||||
public string Type => Xamarin.Forms.Device.UWP;
|
||||
public string Model => SystemInformation.DeviceModel;
|
||||
public int Version => SystemInformation.OperatingSystemVersion.Build;
|
||||
public float Scale => (float)DisplayInformation.GetForCurrentView().RawPixelsPerViewPixel;
|
||||
|
||||
Reference in New Issue
Block a user