mirror of
https://github.com/bitwarden/mobile
synced 2025-12-18 09:13:15 +00:00
resolving warnings for obsolete APIs
This commit is contained in:
@@ -12,7 +12,7 @@ namespace Bit.App.Models.Api
|
||||
{
|
||||
Identifier = appIdService.AppId;
|
||||
Name = deviceInfoService.Model;
|
||||
Type = Device.OS == TargetPlatform.Android ? DeviceType.Android : DeviceType.iOS;
|
||||
Type = Device.RuntimePlatform == Device.Android ? DeviceType.Android : DeviceType.iOS;
|
||||
}
|
||||
|
||||
public DeviceType Type { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user