mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 15:45:11 +00:00
Fix small multiple_closures_with_trailing_closure warning
This commit is contained in:
@@ -175,8 +175,9 @@ struct RoomScreen: View {
|
|||||||
private var jumpToReadMarkerButton: some View {
|
private var jumpToReadMarkerButton: some View {
|
||||||
if timelineContext.viewState.shouldShowJumpToReadMarker {
|
if timelineContext.viewState.shouldShowJumpToReadMarker {
|
||||||
TimelineScrollButton(direction: .up,
|
TimelineScrollButton(direction: .up,
|
||||||
showsBadge: true,
|
showsBadge: true) {
|
||||||
onLongPress: { revealMarkAsReadPill(source: .up) }) {
|
revealMarkAsReadPill(source: .up)
|
||||||
|
} callback: {
|
||||||
dismissMarkAsReadPill()
|
dismissMarkAsReadPill()
|
||||||
timelineContext.send(viewAction: .scrollToReadMarker)
|
timelineContext.send(viewAction: .scrollToReadMarker)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user