mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Use a view controller for the timeline. (#359)
This exposes lifecycle methods and tidies up the Coordinator.
This commit is contained in:
@@ -63,12 +63,6 @@ struct RoomScreenViewState: BindableState {
|
||||
}
|
||||
|
||||
let scrollToBottomPublisher = PassthroughSubject<Void, Never>()
|
||||
|
||||
/// Returns the opacity that the supplied timeline item's cell should be.
|
||||
func opacity(for item: RoomTimelineViewProvider) -> CGFloat {
|
||||
guard case let .reply(selectedItemID, _) = composerMode else { return 1.0 }
|
||||
return selectedItemID == item.id ? 1.0 : 0.5
|
||||
}
|
||||
}
|
||||
|
||||
struct RoomScreenViewStateBindings {
|
||||
|
||||
Reference in New Issue
Block a user