mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Do not hide'View chat' link.
This logic was also hiding 'Answer call'. Signed-off-by: Camila <hello@camila.codes>
This commit is contained in:
parent
ead4eeda1e
commit
f524635cf4
@ -33,11 +33,8 @@ RowLayout {
|
||||
|
||||
readonly property string verb: model.modelData.verb
|
||||
readonly property bool primary: model.index === 0 && verb !== "DELETE"
|
||||
readonly property bool isViewChatlink: verb === "WEB"
|
||||
readonly property bool isTalkReplyButton: verb === "REPLY"
|
||||
|
||||
visible: !isViewChatlink
|
||||
|
||||
Layout.minimumWidth: primary ? Style.activityItemActionPrimaryButtonMinWidth : Style.activityItemActionSecondaryButtonMinWidth
|
||||
Layout.preferredHeight: primary ? parent.height : parent.height * 0.3
|
||||
Layout.preferredWidth: primary ? -1 : parent.height
|
||||
|
||||
Loading…
Reference in New Issue
Block a user