Skip to content

Commit f76f22e

Browse files
committed
chore: code review fixes
1 parent e98e2d2 commit f76f22e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ui/imports/shared/controls/chat/MessageReactionsRow.qml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ Row {
3636
sourceModel: root.emojiModel
3737

3838
filters: [
39+
IndexFilter {
40+
// Only show the first 5 emojis
41+
maximumIndex: 4
42+
},
3943
AnyOf {
4044
ValueFilter {
4145
roleName: "skinColor"

ui/imports/shared/views/chat/MessageContextMenuView.qml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ StatusMenu {
6666
}
6767

6868
StatusMenuSeparator {
69-
// FIXME there is a padding on each side
7069
visible: emojiRow.visible && !root.disabledForChat
70+
horizontalPadding: 0
7171
}
7272

7373
StatusAction {
@@ -150,6 +150,7 @@ StatusMenu {
150150
editMessageAction.enabled ||
151151
pinAction.enabled ||
152152
markMessageAsUnreadAction.enabled)
153+
horizontalPadding: 0
153154
}
154155

155156
StatusAction {

0 commit comments

Comments
 (0)