Skip to content

Commit e95e052

Browse files
richard-ramosiurimatias
authored andcommitted
fix: profile icons
1 parent b3594e7 commit e95e052

26 files changed

+85
-54
lines changed

ui/app/AppLayouts/Profile/LeftTab/Menu.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ScrollView {
2121
model: ProfileConstants.menuButtons
2222
delegate: MenuButton {
2323
text: modelData .text
24-
source: "../../../img/" + modelData .filename
24+
source: "../../../img/profile/" + modelData.filename
2525
active: profileMenu.profileCurrentIndex === modelData.id
2626
Layout.fillWidth: true
2727
onClicked: function () {

ui/app/AppLayouts/Profile/LeftTab/components/MenuButton.qml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,13 @@ Rectangle {
1717
width: parent.width
1818
radius: Style.current.radius
1919

20-
SVGImage {
20+
Image {
2121
id: iconImage
2222
source: menuButton.source
23-
height: 22
23+
height: 24
24+
width: 24
25+
sourceSize.width: width
26+
sourceSize.height: height
2427
anchors.left: parent.left
2528
anchors.leftMargin: Style.current.padding
2629
anchors.verticalCenter: parent.verticalCenter

ui/app/AppLayouts/Profile/LeftTab/constants.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@ var menuButtons = [{
1919
}, {
2020
"id": CONTACTS,
2121
"text": qsTr("Contacts"),
22-
"filename": "profileActive.svg"
22+
"filename": "contacts.svg"
2323
}, {
2424
"id": ENS,
2525
"text": qsTr("ENS usernames"),
26-
"filename": "atSign.svg"
26+
"filename": "ensUsernames.svg"
2727
}, {
2828
"id": PRIVACY_AND_SECURITY,
2929
"text": qsTr("Privacy and security"),
30-
"filename": "lock.svg"
30+
"filename": "security.svg"
3131
}, {
3232
"id": APPEARANCE,
3333
"text": qsTr("Appearance"),
34-
"filename": "sun.svg"
34+
"filename": "appearance.svg"
3535
}, {
3636
"id": SOUND,
3737
"text": qsTr("Sound"),
@@ -43,25 +43,25 @@ var menuButtons = [{
4343
}, {
4444
"id": NOTIFICATIONS,
4545
"text": qsTr("Notifications"),
46-
"filename": "bell.svg"
46+
"filename": "notifications.svg"
4747
}, {
4848
"id": SYNC_SETTINGS,
4949
"text": qsTr("Sync settings"),
50-
"filename": "phone.svg"
50+
"filename": "sync.svg"
5151
}, {
5252
"id": DEVICES_SETTINGS,
5353
"text": qsTr("Devices settings"),
54-
"filename": "phone.svg"
54+
"filename": "sync.svg"
5555
}, {
5656
"id": ADVANCED,
5757
"text": qsTr("Advanced"),
58-
"filename": "slider.svg"
58+
"filename": "advanced.svg"
5959
}, {
6060
"id": NEED_HELP,
6161
"text": qsTr("Need help?"),
62-
"filename": "question.svg"
62+
"filename": "help.svg"
6363
}, {
6464
"id": ABOUT,
6565
"text": qsTr("About"),
66-
"filename": "info.svg"
66+
"filename": "about.svg"
6767
}]

ui/app/img/atSign.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

ui/app/img/lock.svg

Lines changed: 0 additions & 4 deletions
This file was deleted.

ui/app/img/myProfile.svg

Lines changed: 4 additions & 4 deletions
Loading

ui/app/img/phone.svg

Lines changed: 0 additions & 4 deletions
This file was deleted.

ui/app/img/profile.svg

Lines changed: 3 additions & 2 deletions
Loading

ui/app/img/profile/about.svg

Lines changed: 5 additions & 0 deletions
Loading

ui/app/img/profile/advanced.svg

Lines changed: 4 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)