1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-28 12:35:40 +01:00

Show either card number or security code and not both

This commit is contained in:
gobinathal 2024-05-02 23:11:26 +05:30
parent 98621341a2
commit e81e411abc

View File

@ -334,6 +334,7 @@ namespace Bit.App.Pages
ShowCardNumber = !ShowCardNumber; ShowCardNumber = !ShowCardNumber;
if (ShowCardNumber) if (ShowCardNumber)
{ {
ShowCardCode = false;
var task = _eventService.CollectAsync( var task = _eventService.CollectAsync(
Core.Enums.EventType.Cipher_ClientToggledCardNumberVisible, CipherId); Core.Enums.EventType.Cipher_ClientToggledCardNumberVisible, CipherId);
} }
@ -348,6 +349,7 @@ namespace Bit.App.Pages
ShowCardCode = !ShowCardCode; ShowCardCode = !ShowCardCode;
if (ShowCardCode) if (ShowCardCode)
{ {
ShowCardNumber = false;
var task = _eventService.CollectAsync( var task = _eventService.CollectAsync(
Core.Enums.EventType.Cipher_ClientToggledCardCodeVisible, CipherId); Core.Enums.EventType.Cipher_ClientToggledCardCodeVisible, CipherId);
} }