fix: plural function name
Signed-off-by: Infi <wingit@geist.ga>
This commit is contained in:
parent
f18dcd08be
commit
38406388b8
|
|
@ -178,7 +178,7 @@ fun ChannelScreen(
|
|||
viewModel.fetchChannel(channelId)
|
||||
|
||||
coroutineScope.launch {
|
||||
viewModel.listenForWsFrame()
|
||||
viewModel.listenForWsFrames()
|
||||
}
|
||||
|
||||
coroutineScope.launch {
|
||||
|
|
|
|||
|
|
@ -265,7 +265,7 @@ class ChannelScreenViewModel : ViewModel() {
|
|||
}
|
||||
}
|
||||
|
||||
suspend fun listenForWsFrame() {
|
||||
suspend fun listenForWsFrames() {
|
||||
withContext(RevoltAPI.realtimeContext) {
|
||||
flow {
|
||||
while (true) {
|
||||
|
|
@ -336,7 +336,7 @@ class ChannelScreenViewModel : ViewModel() {
|
|||
|
||||
is RealtimeSocketFrames.Reconnected -> {
|
||||
Log.d("ChannelScreen", "Reconnected to WS.")
|
||||
listenForWsFrame()
|
||||
listenForWsFrames()
|
||||
}
|
||||
}
|
||||
}.catch {
|
||||
|
|
|
|||
Loading…
Reference in New Issue