From 0d1bdfdfdd2b194a31cd64945106cb6de7c272f9 Mon Sep 17 00:00:00 2001
From: Kateryna Kostiuk <kateryna.kostiuk@savoirfairelinux.com>
Date: Mon, 10 Mar 2025 14:51:21 -0400
Subject: [PATCH] link device: fix ui for dark mode

Change-Id: I2d978db411036dab5af45cfc44a7e404d97a177f
---
 src/app/wizardview/components/ImportFromDevicePage.qml | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/app/wizardview/components/ImportFromDevicePage.qml b/src/app/wizardview/components/ImportFromDevicePage.qml
index 3ef8fe46..c2f174fb 100644
--- a/src/app/wizardview/components/ImportFromDevicePage.qml
+++ b/src/app/wizardview/components/ImportFromDevicePage.qml
@@ -312,10 +312,10 @@ Rectangle {
             Layout.preferredWidth: qrLoader.Layout.preferredWidth + 40
             Layout.preferredHeight: qrLoader.Layout.preferredHeight + 40
             visible: WizardViewStepModel.deviceAuthState === DeviceAuthStateEnum.TOKEN_AVAILABLE
-            color: JamiTheme.primaryBackgroundColor
+            color: JamiTheme.whiteColor
             radius: 8
             border.width: 1
-            border.color: JamiTheme.tabbarBorderColor
+            border.color: JamiTheme.whiteColor
 
             Loader {
                 id: qrLoader
@@ -327,6 +327,7 @@ Rectangle {
                 sourceComponent: Image {
                     width: qrLoader.Layout.preferredWidth
                     height: qrLoader.Layout.preferredHeight
+                    anchors.centerIn: parent
                     smooth: false
                     fillMode: Image.PreserveAspectFit
                     source: "image://qrImage/raw_" + tokenUri
@@ -356,6 +357,7 @@ Rectangle {
                 Layout.alignment: Qt.AlignHCenter
                 Layout.maximumWidth: parent.parent.width - 40
                 text: tokenUri
+                color: JamiTheme.textColor
                 font.pointSize: JamiTheme.wizardViewDescriptionFontPixelSize
                 horizontalAlignment: Text.AlignHCenter
                 readOnly: true
@@ -365,7 +367,7 @@ Rectangle {
                     color: JamiTheme.primaryBackgroundColor
                     radius: 5
                     border.width: 1
-                    border.color: JamiTheme.tabbarBorderColor
+                    border.color: JamiTheme.textColor
                 }
             }
         }
-- 
GitLab