Show missing relays for DMs when the DMRelayList event is empty.
This commit is contained in:
+1
-1
@@ -104,7 +104,7 @@ fun ObserveRelayListForDMsAndDisplayIfNotFound(
|
||||
ObserveRelayListForDMs(
|
||||
accountViewModel = accountViewModel,
|
||||
) { relayListEvent ->
|
||||
if (relayListEvent == null) {
|
||||
if (relayListEvent == null || relayListEvent.relays().isEmpty()) {
|
||||
AddInboxRelayForDMCard(
|
||||
accountViewModel = accountViewModel,
|
||||
nav = nav,
|
||||
|
||||
Reference in New Issue
Block a user