diff options
Diffstat (limited to 'resources')
-rw-r--r-- | resources/qml/dialogs/UserProfile.qml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/resources/qml/dialogs/UserProfile.qml b/resources/qml/dialogs/UserProfile.qml index 3d65d52a..989c2bab 100644 --- a/resources/qml/dialogs/UserProfile.qml +++ b/resources/qml/dialogs/UserProfile.qml @@ -295,11 +295,10 @@ ApplicationWindow { image: ":/icons/icons/ui/volume-off-indicator.svg" hoverEnabled: true ToolTip.visible: hovered - ToolTip.text: qsTr("Ignore the user.") - onClicked: { - profile.ignoredStatus(profile.userid, true) - } - visible: !profile.isSelf && !profile.isGlobalUserProfile + ToolTip.text: profile.ignored ? qsTr("Unignore the user.") : qsTr("Ignore the user.") + buttonTextColor: profile.ignored ? Nheko.theme.red : palette.buttonText + onClicked: profile.ignored = !profile.ignored + visible: !profile.isSelf } ImageButton { |