Skip to content

Commit

Permalink
fix: check if identity is null in observeContacts
Browse files Browse the repository at this point in the history
  • Loading branch information
Syn-McJ committed Jan 15, 2025
1 parent f24ec0f commit b5a3cdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wallet/src/de/schildbach/wallet/ui/dashpay/PlatformRepo.kt
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ class PlatformRepo @Inject constructor(
.flatMapLatest { _ ->
init()

if (!hasIdentity) {
if (!hasIdentity || blockchainIdentity.identity == null) {
return@flatMapLatest flowOf(emptyList())
}

Expand Down

0 comments on commit b5a3cdb

Please sign in to comment.