diff options
author | Jedi18 <targetakhil@gmail.com> | 2021-02-01 22:13:04 +0530 |
---|---|---|
committer | Jedi18 <targetakhil@gmail.com> | 2021-02-01 22:13:04 +0530 |
commit | c3e02240bff004cfbde8e747894489dc939b1ebe (patch) | |
tree | 9dfd6eb04921d11b107e7f792e3977d95ecc4131 /resources/qml | |
parent | focus and select text on clicking edit button (diff) | |
download | nheko-c3e02240bff004cfbde8e747894489dc939b1ebe.tar.xz |
update room and global avatar through user profile
Diffstat (limited to 'resources/qml')
-rw-r--r-- | resources/qml/UserProfile.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/qml/UserProfile.qml b/resources/qml/UserProfile.qml index 26dfc48c..cff69a90 100644 --- a/resources/qml/UserProfile.qml +++ b/resources/qml/UserProfile.qml @@ -31,7 +31,7 @@ ApplicationWindow { displayName: profile.displayName userid: profile.userid Layout.alignment: Qt.AlignHCenter - onClicked: TimelineManager.openImageOverlay(TimelineManager.timeline.avatarUrl(userid), TimelineManager.timeline.data.id) + onClicked: profile.isSelf ? profile.changeAvatar() : TimelineManager.openImageOverlay(TimelineManager.timeline.avatarUrl(userid), TimelineManager.timeline.data.id) } TextInput { |