mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 15:15:34 +03:00
Changed the right margin of the switch at Create Account(#2021)
This commit is contained in:
parent
8b118408fa
commit
5f7a1e769a
2 changed files with 1 additions and 9 deletions
|
@ -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; }
|
||||||
|
|
Loading…
Reference in a new issue