diff --git a/src/settingsview/components/LinkedDevices.qml b/src/settingsview/components/LinkedDevices.qml index a57e91f145777972362f8e092342a6b63a73e953..f1b9f2c18fad56c01765e9d33b429d3e1cc46e86 100644 --- a/src/settingsview/components/LinkedDevices.qml +++ b/src/settingsview/components/LinkedDevices.qml @@ -61,7 +61,7 @@ ColumnLayout { RevokeDevicePasswordDialog{ id: revokeDevicePasswordDialog - onRevokeDeviceWithPassword: deviceItemListModel.revokeDevice(idOfDevice, password) + onRevokeDeviceWithPassword: deviceItemListModel.sourceModel.revokeDevice(idOfDevice, password) } SimpleMessageDialog { @@ -75,7 +75,7 @@ ColumnLayout { buttonTitles: [JamiStrings.optionOk, JamiStrings.optionCancel] buttonStyles: [SimpleMessageDialog.ButtonStyle.TintedBlue, SimpleMessageDialog.ButtonStyle.TintedBlack] - buttonCallBacks: [function() {deviceItemListModel.revokeDevice(idOfDev, "")}] + buttonCallBacks: [function() {deviceItemListModel.sourceModel.revokeDevice(idOfDev, "")}] } Label { diff --git a/src/settingsview/components/RevokeDevicePasswordDialog.qml b/src/settingsview/components/RevokeDevicePasswordDialog.qml index cc983f5b91b0123d6f5e770ee888eab5d423fbb1..043205535c34c57d1e9f7c55aeb3947c66bcceb4 100644 --- a/src/settingsview/components/RevokeDevicePasswordDialog.qml +++ b/src/settingsview/components/RevokeDevicePasswordDialog.qml @@ -43,6 +43,7 @@ BaseDialog { contentItem: Rectangle { id: revokeDeviceContentRect + color: JamiTheme.secondaryBackgroundColor implicitWidth: JamiTheme.preferredDialogWidth implicitHeight: JamiTheme.preferredDialogHeight