mirror of
https://github.com/bitwarden/mobile
synced 2026-01-02 00:23:15 +00:00
App: Use Windows helper instead of WinPhone (#203)
Signed-off-by: Alistair Francis <alistair@alistair23.me>
This commit is contained in:
committed by
Kyle Spearrin
parent
45c0ec9035
commit
de20bb22d9
@@ -11,7 +11,7 @@ namespace Bit.App.Controls
|
||||
BindableProperty.Create(nameof(Padding), typeof(Thickness), typeof(ExtendedButton), default(Thickness));
|
||||
public static readonly BindableProperty UppercaseProperty =
|
||||
BindableProperty.Create(nameof(Uppercase), typeof(bool), typeof(ExtendedButton),
|
||||
Helpers.OnPlatform(iOS: false, Android: true, WinPhone: false));
|
||||
Helpers.OnPlatform(iOS: false, Android: true, Windows: false));
|
||||
|
||||
public Thickness Padding
|
||||
{
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Bit.App.Controls
|
||||
{
|
||||
HorizontalTextAlignment = TextAlignment.Center,
|
||||
FontSize = 35,
|
||||
FontFamily = Helpers.OnPlatform(iOS: "Menlo-Regular", Android: "monospace", WinPhone: "Courier")
|
||||
FontFamily = Helpers.OnPlatform(iOS: "Menlo-Regular", Android: "monospace", Windows: "Courier")
|
||||
};
|
||||
|
||||
Entry = new ExtendedEntry
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace Bit.App.Controls
|
||||
Padding = Helpers.OnPlatform(
|
||||
iOS: new Thickness(15, 8),
|
||||
Android: new Thickness(15, 2),
|
||||
WinPhone: new Thickness(15, 8))
|
||||
Windows: new Thickness(15, 8))
|
||||
};
|
||||
|
||||
if(Device.RuntimePlatform == Device.Android)
|
||||
|
||||
Reference in New Issue
Block a user