From ee9ecfbee9c1a03a4a35f2da9a46d96fa23bf6af Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sat, 15 Dec 2018 16:56:06 -0500 Subject: [PATCH] revert colorized password on password generator --- src/App/Models/Page/PasswordGeneratorPageModel.cs | 2 +- src/App/Pages/Tools/ToolsPasswordGeneratorPage.cs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/App/Models/Page/PasswordGeneratorPageModel.cs b/src/App/Models/Page/PasswordGeneratorPageModel.cs index 488e2bc42..31bec323f 100644 --- a/src/App/Models/Page/PasswordGeneratorPageModel.cs +++ b/src/App/Models/Page/PasswordGeneratorPageModel.cs @@ -21,7 +21,7 @@ namespace Bit.App.Models.Page { _password = value; PropertyChanged(this, new PropertyChangedEventArgs(nameof(Password))); - PropertyChanged(this, new PropertyChangedEventArgs(nameof(FormattedPassword))); + // PropertyChanged(this, new PropertyChangedEventArgs(nameof(FormattedPassword))); } } diff --git a/src/App/Pages/Tools/ToolsPasswordGeneratorPage.cs b/src/App/Pages/Tools/ToolsPasswordGeneratorPage.cs index b3031a0d4..36247bef0 100644 --- a/src/App/Pages/Tools/ToolsPasswordGeneratorPage.cs +++ b/src/App/Pages/Tools/ToolsPasswordGeneratorPage.cs @@ -67,7 +67,8 @@ namespace Bit.App.Pages Tgr = new TapGestureRecognizer(); Password.GestureRecognizers.Add(Tgr); - Password.SetBinding(Label.FormattedTextProperty, nameof(PasswordGeneratorPageModel.FormattedPassword)); + // Password.SetBinding(Label.FormattedTextProperty, nameof(PasswordGeneratorPageModel.FormattedPassword)); + Password.SetBinding(Label.TextProperty, nameof(PasswordGeneratorPageModel.Password)); SliderCell = new SliderViewCell(this, _passwordGenerationService, _settings);