diff options
author | Loren Burkholder <computersemiexpert@outlook.com> | 2021-09-06 21:14:45 -0400 |
---|---|---|
committer | Loren Burkholder <computersemiexpert@outlook.com> | 2021-09-11 19:35:31 -0400 |
commit | 8e5f91a5796f7a18569d9cce5a2057725a8e465d (patch) | |
tree | 8bb375daf2b920cf722136d85b4c393591f9974b /resources | |
parent | Remove useless line (diff) | |
download | nheko-8e5f91a5796f7a18569d9cce5a2057725a8e465d.tar.xz |
Use better jdenticon codes/id settings
Diffstat (limited to 'resources')
-rw-r--r-- | resources/qml/dialogs/ImagePackEditorDialog.qml | 6 | ||||
-rw-r--r-- | resources/qml/dialogs/ImagePackSettingsDialog.qml | 5 |
2 files changed, 6 insertions, 5 deletions
diff --git a/resources/qml/dialogs/ImagePackEditorDialog.qml b/resources/qml/dialogs/ImagePackEditorDialog.qml index f927a745..c028f4a2 100644 --- a/resources/qml/dialogs/ImagePackEditorDialog.qml +++ b/resources/qml/dialogs/ImagePackEditorDialog.qml @@ -61,7 +61,7 @@ ApplicationWindow { header: AvatarListTile { title: imagePack.packname avatarUrl: imagePack.avatarUrl - userid: imagePack.packname + roomid: imagePack.statekey subtitle: imagePack.statekey index: -1 selectedIndex: currentImageIndex @@ -143,7 +143,7 @@ ApplicationWindow { Layout.columnSpan: 2 url: imagePack.avatarUrl.replace("mxc://", "image://MxcImage/") displayName: imagePack.packname - userid: imagePack.packname + roomid: imagePack.statekey height: 130 width: 130 crop: false @@ -221,7 +221,7 @@ ApplicationWindow { Layout.columnSpan: 2 url: imagePack.data(imagePack.index(currentImageIndex, 0), SingleImagePackModel.Url).replace("mxc://", "image://MxcImage/") displayName: imagePack.data(imagePack.index(currentImageIndex, 0), SingleImagePackModel.ShortCode) - userid: displayName + roomid: displayName height: 130 width: 130 crop: false diff --git a/resources/qml/dialogs/ImagePackSettingsDialog.qml b/resources/qml/dialogs/ImagePackSettingsDialog.qml index 4aee4a78..ca09ff27 100644 --- a/resources/qml/dialogs/ImagePackSettingsDialog.qml +++ b/resources/qml/dialogs/ImagePackSettingsDialog.qml @@ -112,7 +112,7 @@ ApplicationWindow { return qsTr("Globally enabled pack"); } selectedIndex: currentPackIndex - userid: displayName + roomid: currentPack.statekey TapHandler { onSingleTapped: currentPackIndex = index @@ -136,6 +136,7 @@ ApplicationWindow { property string packName: currentPack ? currentPack.packname : "" property string attribution: currentPack ? currentPack.attribution : "" property string avatarUrl: currentPack ? currentPack.avatarUrl : "" + property string statekey: currentPack ? currentPack.statekey : "" anchors.fill: parent anchors.margins: Nheko.paddingLarge @@ -144,7 +145,7 @@ ApplicationWindow { Avatar { url: packinfo.avatarUrl.replace("mxc://", "image://MxcImage/") displayName: packinfo.packName - userid: packinfo.packName + roomid: packinfo.statekey height: 100 width: 100 Layout.alignment: Qt.AlignHCenter |