summary refs log tree commit diff
path: root/resources/qml/dialogs/UserProfile.qml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/qml/dialogs/UserProfile.qml')
-rw-r--r--resources/qml/dialogs/UserProfile.qml38
1 files changed, 19 insertions, 19 deletions
diff --git a/resources/qml/dialogs/UserProfile.qml b/resources/qml/dialogs/UserProfile.qml
index e32a4595..e4a0a6cb 100644
--- a/resources/qml/dialogs/UserProfile.qml
+++ b/resources/qml/dialogs/UserProfile.qml
@@ -80,7 +80,7 @@ ApplicationWindow {
                     anchors.leftMargin: Nheko.paddingMedium
                     anchors.topMargin: Nheko.paddingMedium
                     visible: profile.isSelf
-                    image: ":/icons/icons/ui/edit.png"
+                    image: ":/icons/icons/ui/edit.svg"
                     onClicked: profile.changeAvatar()
                 }
 
@@ -155,7 +155,7 @@ ApplicationWindow {
                     hoverEnabled: true
                     ToolTip.visible: hovered
                     ToolTip.text: profile.isGlobalUserProfile ? qsTr("Change display name globally.") : qsTr("Change display name. Will only apply to this room.")
-                    image: displayUsername.isUsernameEditingAllowed ? ":/icons/icons/ui/checkmark.png" : ":/icons/icons/ui/edit.png"
+                    image: displayUsername.isUsernameEditingAllowed ? ":/icons/icons/ui/checkmark.svg" : ":/icons/icons/ui/edit.svg"
                     onClicked: {
                         if (displayUsername.isUsernameEditingAllowed) {
                             profile.changeUsername(displayUsername.text);
@@ -194,7 +194,7 @@ ApplicationWindow {
                 }
 
                 ImageButton {
-                    image: ":/icons/icons/ui/world.png"
+                    image: ":/icons/icons/ui/world.svg"
                     hoverEnabled: true
                     ToolTip.visible: hovered
                     ToolTip.text: qsTr("Open the global profile for this user.")
@@ -216,14 +216,14 @@ ApplicationWindow {
             Image {
                 Layout.preferredHeight: 16
                 Layout.preferredWidth: 16
-                source: "image://colorimage/:/icons/icons/ui/lock.png?" + ((profile.userVerified == Crypto.Verified) ? "green" : Nheko.colors.buttonText)
+                source: "image://colorimage/:/icons/icons/ui/shield-small-filled.svg?" + ((profile.userVerified == Crypto.Verified) ? "green" : Nheko.colors.buttonText)
                 visible: profile.userVerified != Crypto.Unverified
                 Layout.alignment: Qt.AlignHCenter
             }
 
             RowLayout {
                 // ImageButton{
-                //     image:":/icons/icons/ui/volume-off-indicator.png"
+                //     image:":/icons/icons/ui/volume-off-indicator.svg"
                 //     Layout.margins: {
                 //         left: 5
                 //         right: 5
@@ -240,7 +240,7 @@ ApplicationWindow {
                 spacing: Nheko.paddingSmall
 
                 ImageButton {
-                    image: ":/icons/icons/ui/black-bubble-speech.png"
+                    image: ":/icons/icons/ui/chat.svg"
                     hoverEnabled: true
                     ToolTip.visible: hovered
                     ToolTip.text: qsTr("Start a private chat.")
@@ -248,7 +248,7 @@ ApplicationWindow {
                 }
 
                 ImageButton {
-                    image: ":/icons/icons/ui/round-remove-button.png"
+                    image: ":/icons/icons/ui/round-remove-button.svg"
                     hoverEnabled: true
                     ToolTip.visible: hovered
                     ToolTip.text: qsTr("Kick the user.")
@@ -257,7 +257,7 @@ ApplicationWindow {
                 }
 
                 ImageButton {
-                    image: ":/icons/icons/ui/do-not-disturb-rounded-sign.png"
+                    image: ":/icons/icons/ui/ban.svg"
                     hoverEnabled: true
                     ToolTip.visible: hovered
                     ToolTip.text: qsTr("Ban the user.")
@@ -266,7 +266,7 @@ ApplicationWindow {
                 }
 
                 ImageButton {
-                    image: ":/icons/icons/ui/refresh.png"
+                    image: ":/icons/icons/ui/refresh.svg"
                     hoverEnabled: true
                     ToolTip.visible: hovered
                     ToolTip.text: qsTr("Refresh device list.")
@@ -307,20 +307,20 @@ ApplicationWindow {
                         source: {
                             switch (verificationStatus) {
                             case VerificationStatus.VERIFIED:
-                                return "image://colorimage/:/icons/icons/ui/lock.png?green";
+                                return "image://colorimage/:/icons/icons/ui/shield-small-filled.svg?green";
                             case VerificationStatus.UNVERIFIED:
-                                return "image://colorimage/:/icons/icons/ui/unlock.png?#d6c020";
+                                return "image://colorimage/:/icons/icons/ui/shield-unprotected.svg?#d6c020";
                             case VerificationStatus.SELF:
-                                return "image://colorimage/:/icons/icons/ui/checkmark.png?green";
+                                return "image://colorimage/:/icons/icons/ui/checkmark.svg?green";
                             default:
-                                return "image://colorimage/:/icons/icons/ui/unlock.png?red";
+                                return "image://colorimage/:/icons/icons/ui/shield-unprotected.svg?red";
                             }
                         }
                     }
 
                     ImageButton {
                         Layout.alignment: Qt.AlignTop
-                        image: ":/icons/icons/ui/power-button-off.png"
+                        image: ":/icons/icons/ui/power-off.svg"
                         hoverEnabled: true
                         ToolTip.visible: hovered
                         ToolTip.text: qsTr("Sign out this device.")
@@ -355,7 +355,7 @@ ApplicationWindow {
                         hoverEnabled: true
                         ToolTip.visible: hovered
                         ToolTip.text: qsTr("Change device name.")
-                        image: deviceNameRow.isEditingAllowed ? ":/icons/icons/ui/checkmark.png" : ":/icons/icons/ui/edit.png"
+                        image: deviceNameRow.isEditingAllowed ? ":/icons/icons/ui/checkmark.svg" : ":/icons/icons/ui/edit.svg"
                         onClicked: {
                             if (deviceNameRow.isEditingAllowed) {
                                 profile.changeDeviceName(deviceId, deviceNameField.text);
@@ -388,13 +388,13 @@ ApplicationWindow {
                 source: {
                     switch (verificationStatus) {
                     case VerificationStatus.VERIFIED:
-                        return "image://colorimage/:/icons/icons/ui/lock.png?green";
+                        return "image://colorimage/:/icons/icons/ui/shield-small-filled.svg?green";
                     case VerificationStatus.UNVERIFIED:
-                        return "image://colorimage/:/icons/icons/ui/unlock.png?#d6c020";
+                        return "image://colorimage/:/icons/icons/ui/shield-unprotected.svg?#d6c020";
                     case VerificationStatus.SELF:
-                        return "image://colorimage/:/icons/icons/ui/checkmark.png?green";
+                        return "image://colorimage/:/icons/icons/ui/checkmark.svg?green";
                     default:
-                        return "image://colorimage/:/icons/icons/ui/unlock.png?red";
+                        return "image://colorimage/:/icons/icons/ui/shield-unprotected.svg?red";
                     }
                 }
             }