1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-10 21:33:36 +00:00

[SG-1055] Init strength bar color (#2352)

(cherry picked from commit 3780587991)
This commit is contained in:
André Bispo
2023-02-09 20:12:39 +00:00
committed by Todd Martin
parent 00a1e11ff4
commit 9d174a1688

View File

@@ -69,6 +69,7 @@ namespace Bit.App.Controls
{ {
InitializeComponent(); InitializeComponent();
SetBinding(PasswordStrengthProgressBar.PasswordStrengthLevelProperty, new Binding() { Path = nameof(PasswordStrengthViewModel.PasswordStrengthLevel) }); SetBinding(PasswordStrengthProgressBar.PasswordStrengthLevelProperty, new Binding() { Path = nameof(PasswordStrengthViewModel.PasswordStrengthLevel) });
UpdateColors();
} }
private static void OnControlPropertyChanged(BindableObject bindable, object oldValue, object newValue) private static void OnControlPropertyChanged(BindableObject bindable, object oldValue, object newValue)