mirror of
https://github.com/bitwarden/android.git
synced 2024-12-26 10:58:29 +03:00
[PM-3532] Code clean up. DeviceType delete. (#2762)
This commit is contained in:
parent
9d0209751c
commit
a1912526c2
1 changed files with 0 additions and 20 deletions
|
@ -27,24 +27,4 @@ namespace Bit.Core.Enums
|
||||||
VivaldiExtension = 19,
|
VivaldiExtension = 19,
|
||||||
SafariExtension = 20
|
SafariExtension = 20
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class DeviceTypeExtensions
|
|
||||||
{
|
|
||||||
public static List<DeviceType> GetMobileTypes() => new List<DeviceType>
|
|
||||||
{
|
|
||||||
DeviceType.Android,
|
|
||||||
DeviceType.AndroidAmazon,
|
|
||||||
DeviceType.iOS
|
|
||||||
};
|
|
||||||
|
|
||||||
public static List<DeviceType> GetDesktopTypes() => new List<DeviceType>
|
|
||||||
{
|
|
||||||
DeviceType.WindowsDesktop,
|
|
||||||
DeviceType.MacOsDesktop,
|
|
||||||
DeviceType.LinuxDesktop,
|
|
||||||
DeviceType.UWP,
|
|
||||||
};
|
|
||||||
|
|
||||||
public static List<DeviceType> GetDesktopAndMobileTypes() => GetMobileTypes().Concat(GetDesktopTypes()).ToList();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue