mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 01:19:33 +00:00
focusOnLive() is not suspendable.
This commit is contained in:
-2
@@ -158,12 +158,10 @@ class TimelinePresenter @AssistedInject constructor(
|
|||||||
focusRequestState.value = FocusRequestState.None
|
focusRequestState.value = FocusRequestState.None
|
||||||
}
|
}
|
||||||
is TimelineEvents.JumpToLive -> {
|
is TimelineEvents.JumpToLive -> {
|
||||||
localScope.launch {
|
|
||||||
timelineController.focusOnLive()
|
timelineController.focusOnLive()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
LaunchedEffect(timelineItems.size) {
|
LaunchedEffect(timelineItems.size) {
|
||||||
computeNewItemState(timelineItems, prevMostRecentItemId, newEventState)
|
computeNewItemState(timelineItems, prevMostRecentItemId, newEventState)
|
||||||
|
|||||||
Reference in New Issue
Block a user