From bf54b13e535e2b05b15315a30661ce7ca4214f45 Mon Sep 17 00:00:00 2001 From: Philip Cappelli Date: Wed, 11 Dec 2024 15:28:25 -0500 Subject: [PATCH] PR comments --- .../authenticator/feature/itemlisting/ItemListingViewModel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/bitwarden/authenticator/ui/authenticator/feature/itemlisting/ItemListingViewModel.kt b/app/src/main/kotlin/com/bitwarden/authenticator/ui/authenticator/feature/itemlisting/ItemListingViewModel.kt index 7f1a68299..cce105a0a 100644 --- a/app/src/main/kotlin/com/bitwarden/authenticator/ui/authenticator/feature/itemlisting/ItemListingViewModel.kt +++ b/app/src/main/kotlin/com/bitwarden/authenticator/ui/authenticator/feature/itemlisting/ItemListingViewModel.kt @@ -175,7 +175,7 @@ class ItemListingViewModel @Inject constructor( .first { it.data != null } val didLaunchAddTotpFlow = authenticatorBridgeManager.startAddTotpLoginItemFlow( - totpUri = item.data?.toOtpAuthUriString() ?: "", + totpUri = item.data?.toOtpAuthUriString().orEmpty(), ) if (!didLaunchAddTotpFlow) { mutableStateFlow.update {