mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-17 18:11:54 +00:00
fix: disable quick actions when editting a message
also move the top/bottom margins one level up so that the message editor gets the same margins as well Fixes: #8185
This commit is contained in:
parent
c454878e0d
commit
8e4d9be779
@ -209,6 +209,9 @@ Control {
|
||||
ColumnLayout {
|
||||
id: messageLayout
|
||||
anchors.fill: parent
|
||||
anchors.topMargin: 2
|
||||
anchors.bottomMargin: 2
|
||||
spacing: 2
|
||||
|
||||
Loader {
|
||||
Layout.fillWidth: true
|
||||
@ -234,7 +237,6 @@ Control {
|
||||
implicitWidth: root.messageDetails.sender.profileImage.assetSettings.width
|
||||
implicitHeight: profileImage.visible ? profileImage.height : 0
|
||||
Layout.alignment: Qt.AlignTop
|
||||
Layout.topMargin: 2
|
||||
StatusSmartIdenticon {
|
||||
id: profileImage
|
||||
active: root.showHeader
|
||||
|
@ -386,8 +386,6 @@ Loader {
|
||||
StatusMessage {
|
||||
id: delegate
|
||||
Layout.fillWidth: true
|
||||
Layout.topMargin: 2
|
||||
Layout.bottomMargin: 2
|
||||
function convertContentType(value) {
|
||||
switch (value) {
|
||||
case Constants.messageContentType.messageType:
|
||||
@ -477,7 +475,8 @@ Loader {
|
||||
hideQuickActions: root.isChatBlocked ||
|
||||
root.placeholderMessage ||
|
||||
root.activityCenterMessage ||
|
||||
root.isInPinnedPopup
|
||||
root.isInPinnedPopup ||
|
||||
root.editModeOn
|
||||
hideMessage: d.isSingleImage && d.unfurledLinksCount === 1
|
||||
|
||||
overrideBackground: root.activityCenterMessage || root.placeholderMessage
|
||||
|
Loading…
x
Reference in New Issue
Block a user