mirror of
https://github.com/bitwarden/mobile
synced 2026-01-17 16:03:46 +00:00
[PM-4054] Rename Fido2Key to Fido2Credential (#2821)
* PM-4054 Renamed Fido2Key to Fido2Credential on the entire codebase * PM-4054 Renamed file Fido2KeyApi to Fido2CredentialApi
This commit is contained in:
committed by
GitHub
parent
bb2f1f0f5f
commit
f2936c95fa
@@ -308,7 +308,7 @@ namespace Bit.App.Pages
|
||||
public string PasswordVisibilityAccessibilityText => ShowPassword ? AppResources.PasswordIsVisibleTapToHide : AppResources.PasswordIsNotVisibleTapToShow;
|
||||
public bool HasTotpValue => IsLogin && !string.IsNullOrEmpty(Cipher?.Login?.Totp);
|
||||
public string SetupTotpText => $"{BitwardenIcons.Camera} {AppResources.SetupTotp}";
|
||||
public bool ShowPasskeyInfo => Cipher?.HasFido2Key == true && !CloneMode;
|
||||
public bool ShowPasskeyInfo => Cipher?.HasFido2Credential == true && !CloneMode;
|
||||
|
||||
public void Init()
|
||||
{
|
||||
@@ -370,7 +370,7 @@ namespace Bit.App.Pages
|
||||
if (Cipher.Type == CipherType.Login)
|
||||
{
|
||||
// passkeys can't be cloned
|
||||
Cipher.Login.Fido2Keys = null;
|
||||
Cipher.Login.Fido2Credentials = null;
|
||||
}
|
||||
}
|
||||
if (appOptions?.OtpData != null && Cipher.Type == CipherType.Login)
|
||||
|
||||
Reference in New Issue
Block a user