Browse Source

`focusOnLive()` is not suspendable.

pull/2759/head
Benoit Marty 5 months ago
parent
commit
137bfdfda9
  1. 4
      features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/TimelinePresenter.kt

4
features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/TimelinePresenter.kt

@ -158,9 +158,7 @@ class TimelinePresenter @AssistedInject constructor( @@ -158,9 +158,7 @@ class TimelinePresenter @AssistedInject constructor(
focusRequestState.value = FocusRequestState.None
}
is TimelineEvents.JumpToLive -> {
localScope.launch {
timelineController.focusOnLive()
}
timelineController.focusOnLive()
}
}
}

Loading…
Cancel
Save