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(
|
ObserveRelayListForDMs(
|
||||||
accountViewModel = accountViewModel,
|
accountViewModel = accountViewModel,
|
||||||
) { relayListEvent ->
|
) { relayListEvent ->
|
||||||
if (relayListEvent == null) {
|
if (relayListEvent == null || relayListEvent.relays().isEmpty()) {
|
||||||
AddInboxRelayForDMCard(
|
AddInboxRelayForDMCard(
|
||||||
accountViewModel = accountViewModel,
|
accountViewModel = accountViewModel,
|
||||||
nav = nav,
|
nav = nav,
|
||||||
|
|||||||
Reference in New Issue
Block a user