Skip to content

Commit

Permalink
[PM-9439] Use passkey icon for items with FIDO2 credentials in search…
Browse files Browse the repository at this point in the history
… results
  • Loading branch information
SaintPatrck committed Jan 9, 2025
1 parent b5d73c9 commit 087e2d0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import com.bitwarden.vault.CipherView
import com.bitwarden.vault.CollectionView
import com.bitwarden.vault.FolderView
import com.x8bit.bitwarden.R
import com.x8bit.bitwarden.data.autofill.util.isActiveWithFido2Credentials
import com.x8bit.bitwarden.data.platform.util.SpecialCharWithPrecedenceComparator
import com.x8bit.bitwarden.data.platform.util.subtitle
import com.x8bit.bitwarden.ui.platform.base.util.asText
Expand Down Expand Up @@ -247,7 +248,7 @@ private fun CipherView.toIconData(
login?.uris.toLoginIconData(
baseIconUrl = baseIconUrl,
isIconLoadingDisabled = isIconLoadingDisabled,
usePasskeyDefaultIcon = false,
usePasskeyDefaultIcon = this.isActiveWithFido2Credentials,
)
}

Expand Down

0 comments on commit 087e2d0

Please sign in to comment.