mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Space must be above the item.
This commit is contained in:
committed by
Benoit Marty
parent
1c7c8e6c9a
commit
02dd796d83
+5
-5
@@ -126,6 +126,11 @@ fun TimelineItemEventRow(
|
|||||||
}
|
}
|
||||||
|
|
||||||
Column(modifier = modifier.fillMaxWidth()) {
|
Column(modifier = modifier.fillMaxWidth()) {
|
||||||
|
if (event.groupPosition.isNew()) {
|
||||||
|
Spacer(modifier = Modifier.height(16.dp))
|
||||||
|
} else {
|
||||||
|
Spacer(modifier = Modifier.height(2.dp))
|
||||||
|
}
|
||||||
if (canReply) {
|
if (canReply) {
|
||||||
val state: SwipeableActionsState = rememberSwipeableActionsState()
|
val state: SwipeableActionsState = rememberSwipeableActionsState()
|
||||||
val offset = state.offset.value
|
val offset = state.offset.value
|
||||||
@@ -177,11 +182,6 @@ fun TimelineItemEventRow(
|
|||||||
onMoreReactionsClicked = { onMoreReactionsClick(event) },
|
onMoreReactionsClicked = { onMoreReactionsClick(event) },
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
if (event.groupPosition.isNew()) {
|
|
||||||
Spacer(modifier = Modifier.height(16.dp))
|
|
||||||
} else {
|
|
||||||
Spacer(modifier = Modifier.height(2.dp))
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user