summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorJedi18 <targetakhil@gmail.com>2021-02-01 22:13:04 +0530
committerJedi18 <targetakhil@gmail.com>2021-02-01 22:13:04 +0530
commitc3e02240bff004cfbde8e747894489dc939b1ebe (patch)
tree9dfd6eb04921d11b107e7f792e3977d95ecc4131 /resources
parentfocus and select text on clicking edit button (diff)
downloadnheko-c3e02240bff004cfbde8e747894489dc939b1ebe.tar.xz
update room and global avatar through user profile
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/UserProfile.qml2
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 {