From 7d856899c36750fa00ebcc1e2367c3742543b707 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?L=C3=A9o=20Banno-Cloutier?=
 <leo.banno-cloutier@savoirfairelinux.com>
Date: Mon, 29 May 2023 16:49:12 -0400
Subject: [PATCH] EmojiPicker: Left align to match the emoji button

Gitlab: #1150
Change-Id: I21edc4e1dec474d2fef8a3104edff2e79cdce30f
---
 src/app/mainview/components/ChatViewFooter.qml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/app/mainview/components/ChatViewFooter.qml b/src/app/mainview/components/ChatViewFooter.qml
index 9b235728a..a50391167 100644
--- a/src/app/mainview/components/ChatViewFooter.qml
+++ b/src/app/mainview/components/ChatViewFooter.qml
@@ -156,7 +156,11 @@ Rectangle {
             }
 
             function setXposition() {
-                return messageBar.width - JamiTheme.emojiPickerWidth;
+                if (UtilsAdapter.isRTL) {
+                    return messageBar.width - JamiTheme.emojiPickerWidth;
+                } else {
+                    return 0;
+                }
             }
 
             function setYposition() {
-- 
GitLab