From e81e411abcc3a53e729a9be0912fb0d5593c0f44 Mon Sep 17 00:00:00 2001 From: gobinathal Date: Thu, 2 May 2024 23:11:26 +0530 Subject: [PATCH] Show either card number or security code and not both --- src/Core/Pages/Vault/CipherDetailsPageViewModel.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Core/Pages/Vault/CipherDetailsPageViewModel.cs b/src/Core/Pages/Vault/CipherDetailsPageViewModel.cs index 2ccb788ff..edf2bcd55 100644 --- a/src/Core/Pages/Vault/CipherDetailsPageViewModel.cs +++ b/src/Core/Pages/Vault/CipherDetailsPageViewModel.cs @@ -334,6 +334,7 @@ namespace Bit.App.Pages ShowCardNumber = !ShowCardNumber; if (ShowCardNumber) { + ShowCardCode = false; var task = _eventService.CollectAsync( Core.Enums.EventType.Cipher_ClientToggledCardNumberVisible, CipherId); } @@ -348,6 +349,7 @@ namespace Bit.App.Pages ShowCardCode = !ShowCardCode; if (ShowCardCode) { + ShowCardNumber = false; var task = _eventService.CollectAsync( Core.Enums.EventType.Cipher_ClientToggledCardCodeVisible, CipherId); }