mirror of
https://github.com/bitwarden/mobile
synced 2025-12-05 23:53:33 +00:00
Changed the right margin of the switch at Create Account(#2021)
This commit is contained in:
@@ -132,7 +132,7 @@
|
|||||||
IsToggled="{Binding AcceptPolicies}"
|
IsToggled="{Binding AcceptPolicies}"
|
||||||
StyleClass="box-value"
|
StyleClass="box-value"
|
||||||
HorizontalOptions="Start"
|
HorizontalOptions="Start"
|
||||||
Margin="{Binding SwitchMargin}"/>
|
Margin="0, 0, 10, 0"/>
|
||||||
<Label StyleClass="box-footer-label"
|
<Label StyleClass="box-footer-label"
|
||||||
HorizontalOptions="Fill">
|
HorizontalOptions="Fill">
|
||||||
<Label.FormattedText>
|
<Label.FormattedText>
|
||||||
|
|||||||
@@ -61,14 +61,6 @@ namespace Bit.App.Pages
|
|||||||
get => _acceptPolicies;
|
get => _acceptPolicies;
|
||||||
set => SetProperty(ref _acceptPolicies, value);
|
set => SetProperty(ref _acceptPolicies, value);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Thickness SwitchMargin
|
|
||||||
{
|
|
||||||
get => Device.RuntimePlatform == Device.Android
|
|
||||||
? new Thickness(0, 0, 0, 0)
|
|
||||||
: new Thickness(0, 0, 10, 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
public bool ShowTerms { get; set; }
|
public bool ShowTerms { get; set; }
|
||||||
public Command SubmitCommand { get; }
|
public Command SubmitCommand { get; }
|
||||||
public Command TogglePasswordCommand { get; }
|
public Command TogglePasswordCommand { get; }
|
||||||
|
|||||||
Reference in New Issue
Block a user