mirror of
https://github.com/bitwarden/mobile
synced 2025-12-17 16:53:26 +00:00
resolving warnings for obsolete APIs
This commit is contained in:
@@ -78,7 +78,7 @@ namespace Bit.App.Pages
|
||||
Spacing = 0
|
||||
};
|
||||
|
||||
if(Device.OS == TargetPlatform.Android)
|
||||
if(Device.RuntimePlatform == Device.Android)
|
||||
{
|
||||
AutofillAlwaysCell = new ExtendedSwitchCell
|
||||
{
|
||||
@@ -161,7 +161,7 @@ namespace Bit.App.Pages
|
||||
Content = StackLayout
|
||||
};
|
||||
|
||||
if(Device.OS == TargetPlatform.iOS)
|
||||
if(Device.RuntimePlatform == Device.iOS)
|
||||
{
|
||||
analyticsTable.RowHeight = -1;
|
||||
analyticsTable.EstimatedRowHeight = 70;
|
||||
|
||||
Reference in New Issue
Block a user