wrap long lines
This commit is contained in:
parent
cd03acfb70
commit
eb265503eb
|
@ -61,7 +61,8 @@ namespace Bit.App.Pages
|
||||||
|
|
||||||
var passwordLabel = new Label
|
var passwordLabel = new Label
|
||||||
{
|
{
|
||||||
Text = "The master password is the password you use to access your vault. It is very important that you do not forget your master password. There is no way to recover the password in the event that you forget it.",
|
Text = "The master password is the password you use to access your vault. It is very important that you do not"
|
||||||
|
+ " forget your master password. There is no way to recover the password in the event that you forget it.",
|
||||||
LineBreakMode = LineBreakMode.WordWrap,
|
LineBreakMode = LineBreakMode.WordWrap,
|
||||||
FontSize = Device.GetNamedSize(NamedSize.Small, typeof(Label)),
|
FontSize = Device.GetNamedSize(NamedSize.Small, typeof(Label)),
|
||||||
Style = (Style)Application.Current.Resources["text-muted"],
|
Style = (Style)Application.Current.Resources["text-muted"],
|
||||||
|
@ -139,13 +140,15 @@ namespace Bit.App.Pages
|
||||||
{
|
{
|
||||||
if(string.IsNullOrWhiteSpace(EmailCell.Entry.Text))
|
if(string.IsNullOrWhiteSpace(EmailCell.Entry.Text))
|
||||||
{
|
{
|
||||||
await DisplayAlert(AppResources.AnErrorHasOccurred, string.Format(AppResources.ValidationFieldRequired, AppResources.EmailAddress), AppResources.Ok);
|
await DisplayAlert(AppResources.AnErrorHasOccurred,
|
||||||
|
string.Format(AppResources.ValidationFieldRequired, AppResources.EmailAddress), AppResources.Ok);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(string.IsNullOrWhiteSpace(PasswordCell.Entry.Text))
|
if(string.IsNullOrWhiteSpace(PasswordCell.Entry.Text))
|
||||||
{
|
{
|
||||||
await DisplayAlert(AppResources.AnErrorHasOccurred, string.Format(AppResources.ValidationFieldRequired, "Your Name"), AppResources.Ok);
|
await DisplayAlert(AppResources.AnErrorHasOccurred,
|
||||||
|
string.Format(AppResources.ValidationFieldRequired, "Your Name"), AppResources.Ok);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue