mirror of
https://github.com/bitwarden/mobile
synced 2025-12-31 23:53:25 +00:00
29 lines
952 B
XML
29 lines
952 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<StackLayout
|
|
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
xmlns:controls="clr-namespace:Bit.App.Controls"
|
|
xmlns:u="clr-namespace:Bit.App.Utilities"
|
|
x:DataType="controls:PasswordStrengthViewModel"
|
|
x:Class="Bit.App.Controls.PasswordStrengthProgressBar"
|
|
StyleClass="box">
|
|
|
|
<StackLayout.Resources>
|
|
<ResourceDictionary>
|
|
<u:LocalizableEnumConverter x:Key="localizableEnum" />
|
|
</ResourceDictionary>
|
|
</StackLayout.Resources>
|
|
|
|
<ProgressBar
|
|
x:Name="_progressBar"
|
|
u:ProgressBarExtensions.AnimatedProgress="{Binding PasswordStrength}"
|
|
ScaleY="2" />
|
|
|
|
<Label
|
|
x:Name="_progressLabel"
|
|
Text="{Binding PasswordStrengthLevel, Converter={StaticResource localizableEnum}, TargetNullValue=' ' }"
|
|
StyleClass="box-footer-label" />
|
|
|
|
</StackLayout>
|
|
|