1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-07-08 12:35:24 +02:00

fix bug with button binding

This commit is contained in:
Kyle Spearrin 2017-05-30 14:24:29 -04:00
parent 24382b8607
commit 8da80f0710

View File

@ -62,7 +62,7 @@ namespace Bit.App.Pages
button2Text: AppResources.Copy);
PasswordCell.Value.SetBinding(Label.TextProperty, nameof(VaultViewLoginPageModel.MaskedPassword));
PasswordCell.Value.SetBinding(Label.FontSizeProperty, nameof(VaultViewLoginPageModel.PasswordFontSize));
PasswordCell.Value.SetBinding(Button.ImageProperty, nameof(VaultViewLoginPageModel.ShowHideImage));
PasswordCell.Button1.SetBinding(Button.ImageProperty, nameof(VaultViewLoginPageModel.ShowHideImage));
if(Device.RuntimePlatform == Device.iOS)
{
PasswordCell.Button1.Margin = new Thickness(10, 0);