mirror of
https://github.com/bitwarden/mobile
synced 2025-12-17 16:53:26 +00:00
turn off uppercase for some android buttons
This commit is contained in:
@@ -8,11 +8,20 @@ namespace Bit.App.Controls
|
||||
{
|
||||
public static readonly BindableProperty PaddingProperty =
|
||||
BindableProperty.Create(nameof(Padding), typeof(Thickness), typeof(ExtendedButton), default(Thickness));
|
||||
public static readonly BindableProperty UppercaseProperty =
|
||||
BindableProperty.Create(nameof(Padding), typeof(bool), typeof(ExtendedButton),
|
||||
Device.OS == TargetPlatform.Android ? true : false);
|
||||
|
||||
public Thickness Padding
|
||||
{
|
||||
get { return (Thickness)GetValue(PaddingProperty); }
|
||||
set { SetValue(PaddingProperty, value); }
|
||||
}
|
||||
|
||||
public bool Uppercase
|
||||
{
|
||||
get { return (bool)GetValue(UppercaseProperty); }
|
||||
set { SetValue(UppercaseProperty, value); }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user