mirror of
https://github.com/bitwarden/android.git
synced 2026-06-04 11:46:51 -05:00
BIT-1584 Fix the view password overflow item visibility (#1008)
This commit is contained in:
committed by
Álison Fernandes
parent
5bfa059cdb
commit
829934f7c0
@@ -20,9 +20,9 @@ fun CipherView.toOverflowActions(): List<ListingItemOverflowAction.VaultAction>
|
||||
this.login?.username?.let {
|
||||
ListingItemOverflowAction.VaultAction.CopyUsernameClick(username = it)
|
||||
},
|
||||
this.login?.password?.let {
|
||||
ListingItemOverflowAction.VaultAction.CopyPasswordClick(password = it)
|
||||
},
|
||||
this.login?.password
|
||||
?.let { ListingItemOverflowAction.VaultAction.CopyPasswordClick(password = it) }
|
||||
.takeIf { this.viewPassword },
|
||||
this.login?.totp
|
||||
?.let { ListingItemOverflowAction.VaultAction.CopyTotpClick(totpCode = it) }
|
||||
.takeIf { this.type == CipherType.LOGIN },
|
||||
|
||||
Reference in New Issue
Block a user