mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-23 18:15:22 +00:00
Fix refresh on open search
This commit is contained in:
parent
a4ee521ee0
commit
81f9bf9412
@ -51,7 +51,9 @@ class GlobalSearchViewModel @Inject constructor(
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun refresh() {
|
fun refresh() {
|
||||||
refreshes.tryEmit(Unit)
|
viewModelScope.launch {
|
||||||
|
refreshes.emit(Unit)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
init {
|
init {
|
||||||
|
Loading…
Reference in New Issue
Block a user