focusOnLive() is not suspendable.

This commit is contained in:
Benoit Marty
2024-04-29 12:15:14 +02:00
parent 33f1cb4abf
commit 137bfdfda9
@@ -158,12 +158,10 @@ class TimelinePresenter @AssistedInject constructor(
focusRequestState.value = FocusRequestState.None
}
is TimelineEvents.JumpToLive -> {
localScope.launch {
timelineController.focusOnLive()
}
}
}
}
LaunchedEffect(timelineItems.size) {
computeNewItemState(timelineItems, prevMostRecentItemId, newEventState)