mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-16 16:47:24 +00:00
parent
7f944c09be
commit
6bf57d3bdd
@ -414,12 +414,12 @@ StatusPopupMenu {
|
|||||||
}
|
}
|
||||||
icon.name: "pin"
|
icon.name: "pin"
|
||||||
enabled: {
|
enabled: {
|
||||||
if (root.pinnedPopup)
|
|
||||||
return true
|
|
||||||
|
|
||||||
if(root.isProfile || root.isEmoji || root.isRightClickOnImage)
|
if(root.isProfile || root.isEmoji || root.isRightClickOnImage)
|
||||||
return false
|
return false
|
||||||
|
|
||||||
|
if (root.pinnedPopup)
|
||||||
|
return true
|
||||||
|
|
||||||
switch (root.chatType) {
|
switch (root.chatType) {
|
||||||
case Constants.chatType.publicChat:
|
case Constants.chatType.publicChat:
|
||||||
return false
|
return false
|
||||||
@ -473,7 +473,7 @@ StatusPopupMenu {
|
|||||||
|
|
||||||
StatusMenuItem {
|
StatusMenuItem {
|
||||||
id: jumpToAction
|
id: jumpToAction
|
||||||
enabled: root.pinnedPopup
|
enabled: root.pinnedPopup && !root.isProfile
|
||||||
text: qsTr("Jump to")
|
text: qsTr("Jump to")
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
root.jumpToMessage(root.messageId)
|
root.jumpToMessage(root.messageId)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user