From 6d00268adc814842395161d8e44ed6e6b15712e8 Mon Sep 17 00:00:00 2001
From: Ming Rui Zhang <mingrui.zhang@savoirfairelinux.com>
Date: Fri, 21 May 2021 11:51:59 -0400
Subject: [PATCH] messagewebview: adjust theme for new chatview icons

Change-Id: I16b0c0d9a2e8111908eb46c0a68c8c55bb074d6c
---
 src/constant/JamiTheme.qml                 | 2 +-
 src/mainview/components/MessageWebView.qml | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/constant/JamiTheme.qml b/src/constant/JamiTheme.qml
index 43df8965d..4f8a229c0 100644
--- a/src/constant/JamiTheme.qml
+++ b/src/constant/JamiTheme.qml
@@ -137,7 +137,7 @@ Item {
     property color inviteHoverColor: darkTheme ? blackColor : whiteColor
     property color chatviewButtonColor: darkTheme ? whiteColor : blackColor
     property color bgTextInput: darkTheme ? "#060608" : whiteColor
-    property int invertPercentageInDecimal: darkTheme ? 1 : 0
+
     // Font.
     property color faddedFontColor: darkTheme? "#c0c0c0" : "#a0a0a0"
     property color faddedLastInteractionFontColor: darkTheme ? "#c0c0c0" : "#505050"
diff --git a/src/mainview/components/MessageWebView.qml b/src/mainview/components/MessageWebView.qml
index 442d6abd6..5afac80cc 100644
--- a/src/mainview/components/MessageWebView.qml
+++ b/src/mainview/components/MessageWebView.qml
@@ -90,6 +90,7 @@ Rectangle {
             --file-in-timestamp-color:' + JamiTheme.fileOutTimestampColor + ';\
             --file-out-timestamp-color:' + JamiTheme.fileInTimestampColor + ';\
             --bg-color:' + JamiTheme.chatviewBgColor + ';\
+            --action-icon-color:' + JamiTheme.chatviewButtonColor + ';\
             --action-icon-hover-color:' + JamiTheme.hoveredButtonColor + ';\
             --action-icon-press-color:' + JamiTheme.pressedButtonColor + ';\
             --placeholder-text-color:' + JamiTheme.placeholderTextColor + ';\
-- 
GitLab