From d0ae6190bf1f82c1783be727a80a6bbb4f4ec1e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Blin?= Date: Fri, 1 Oct 2021 15:11:57 -0400 Subject: [PATCH] revoke dialog: fix text color Change-Id: I61bc0ed71d79bdd268d19d7dccadb44350766b26 GitLab: #519 --- src/constant/JamiStrings.qml | 1 + src/settingsview/components/RevokeDevicePasswordDialog.qml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/constant/JamiStrings.qml b/src/constant/JamiStrings.qml index e668d888..f0c9e679 100644 --- a/src/constant/JamiStrings.qml +++ b/src/constant/JamiStrings.qml @@ -426,6 +426,7 @@ Item { // PasswordDialog property string enterPassword: qsTr("Enter the password") property string enterCurrentPassword: qsTr("Enter current password") + property string confirmRemoval: qsTr("Enter this account's password to confirm the removal of this device") property string enterNewPassword: qsTr("Enter new password") property string confirmNewPassword: qsTr("Confirm new password") property string change: qsTr("Change") diff --git a/src/settingsview/components/RevokeDevicePasswordDialog.qml b/src/settingsview/components/RevokeDevicePasswordDialog.qml index 04320553..23a5b50c 100644 --- a/src/settingsview/components/RevokeDevicePasswordDialog.qml +++ b/src/settingsview/components/RevokeDevicePasswordDialog.qml @@ -59,7 +59,8 @@ BaseDialog { Layout.alignment: Qt.AlignHCenter Layout.preferredWidth: revokeDeviceContentRect.width - JamiTheme.preferredMarginSize * 2 - text: qsTr("Enter this account's password to confirm the removal of this device") + color: JamiTheme.textColor + text: JamiStrings.confirmRemoval font.pointSize: JamiTheme.textFontSize font.kerning: true wrapMode: Text.Wrap