mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-11-10 17:16:46 +01:00
Remove companions
This commit is contained in:
@@ -81,7 +81,7 @@ class SearchRelayListState(
|
|||||||
.flowOn(Dispatchers.Default)
|
.flowOn(Dispatchers.Default)
|
||||||
.stateIn(
|
.stateIn(
|
||||||
scope,
|
scope,
|
||||||
SharingStarted.Companion.Eagerly,
|
SharingStarted.Eagerly,
|
||||||
emptySet(),
|
emptySet(),
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -89,13 +89,13 @@ class SearchRelayListState(
|
|||||||
val relayListForSearch = getSearchRelayList()
|
val relayListForSearch = getSearchRelayList()
|
||||||
|
|
||||||
return if (relayListForSearch != null && relayListForSearch.tags.isNotEmpty()) {
|
return if (relayListForSearch != null && relayListForSearch.tags.isNotEmpty()) {
|
||||||
SearchRelayListEvent.Companion.updateRelayList(
|
SearchRelayListEvent.updateRelayList(
|
||||||
earlierVersion = relayListForSearch,
|
earlierVersion = relayListForSearch,
|
||||||
relays = searchRelays,
|
relays = searchRelays,
|
||||||
signer = signer,
|
signer = signer,
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
SearchRelayListEvent.Companion.create(
|
SearchRelayListEvent.create(
|
||||||
relays = searchRelays,
|
relays = searchRelays,
|
||||||
signer = signer,
|
signer = signer,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user