1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-29 14:43:50 +00:00

PM-1575 For now just display Available for two-step login on non-discoverable passkey inside of a cipher login

This commit is contained in:
Federico Maccaroni
2023-05-23 23:21:50 +03:00
parent 7ada68513c
commit 6eb46b5469
3 changed files with 13 additions and 3 deletions

View File

@@ -187,10 +187,8 @@
StyleClass="box-label"
Margin="0,10,0,0"
IsVisible="{Binding Cipher.Login.Fido2Key}"/>
<!--TODO: Update binding to display the true creation date of the login's Fido2Key.
For now, displaying the creation date of the cipher to check the UI-->
<Entry
Text="{Binding CreationDate}"
Text="{u:I18n AvailableForTwoStepLogin}"
IsEnabled="False"
StyleClass="box-value,text-muted"
IsVisible="{Binding Cipher.Login.Fido2Key}" />

View File

@@ -958,6 +958,15 @@ namespace Bit.App.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Available for two-step login.
/// </summary>
public static string AvailableForTwoStepLogin {
get {
return ResourceManager.GetString("AvailableForTwoStepLogin", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to A verification code was sent to your email.
/// </summary>

View File

@@ -2656,4 +2656,7 @@ Do you want to switch to this account?</value>
<data name="CopyApplication" xml:space="preserve">
<value>Copy application</value>
</data>
<data name="AvailableForTwoStepLogin" xml:space="preserve">
<value>Available for two-step login</value>
</data>
</root>