1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-15 07:43:37 +00:00

Colorized passwords (#424)

* Added utility to format passwords using spans

* Use the password formatter to render the cipher password

* Colorize the password in the password generator
This commit is contained in:
Andreas Schneider
2018-12-10 15:30:11 +01:00
committed by Kyle Spearrin
parent 8fc5ad099b
commit 421f7e8799
5 changed files with 98 additions and 7 deletions

View File

@@ -67,7 +67,7 @@ namespace Bit.App.Pages
Tgr = new TapGestureRecognizer();
Password.GestureRecognizers.Add(Tgr);
Password.SetBinding(Label.TextProperty, nameof(PasswordGeneratorPageModel.Password));
Password.SetBinding(Label.FormattedTextProperty, nameof(PasswordGeneratorPageModel.FormattedPassword));
SliderCell = new SliderViewCell(this, _passwordGenerationService, _settings);