mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-18 09:37:59 +00:00
Fix(ActivityCenter): Hotfix for activity center ui issues
This commit is contained in:
parent
7fa05c655a
commit
fee883b650
@ -41,11 +41,9 @@ Item {
|
|||||||
spacing: Style.current.padding
|
spacing: Style.current.padding
|
||||||
|
|
||||||
StatusRollArea {
|
StatusRollArea {
|
||||||
Layout.preferredHeight: innerRow.implicitHeight
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|
||||||
content: RowLayout {
|
content: RowLayout {
|
||||||
id: innerRow
|
|
||||||
spacing: 0
|
spacing: 0
|
||||||
|
|
||||||
Repeater {
|
Repeater {
|
||||||
@ -63,13 +61,12 @@ Item {
|
|||||||
StatusFlatButton {
|
StatusFlatButton {
|
||||||
enabled: modelData.enabled
|
enabled: modelData.enabled
|
||||||
visible: modelData.visible
|
visible: modelData.visible
|
||||||
width: visible ? implicitWidth : 0
|
|
||||||
text: modelData.text
|
text: modelData.text
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
|
||||||
size: StatusBaseButton.Size.Small
|
size: StatusBaseButton.Size.Small
|
||||||
highlighted: modelData.category == root.currentActivityCategory
|
highlighted: modelData.category === root.currentActivityCategory
|
||||||
onClicked: root.categoryTriggered(modelData.category)
|
onClicked: root.categoryTriggered(modelData.category)
|
||||||
onEnabledChanged: if (!enabled && highlighted) root.categoryTriggered(ActivityCenterPopup.ActivityCategory.All)
|
onEnabledChanged: if (!enabled && highlighted) root.categoryTriggered(ActivityCenterPopup.ActivityCategory.All)
|
||||||
|
Layout.preferredWidth: visible ? implicitWidth : 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -32,8 +32,7 @@ Item {
|
|||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
messageTimestamp: notification.timestamp
|
messageTimestamp: notification.timestamp
|
||||||
previousMessageTimestamp: root.previousNotificationIndex == 0 ? "" :
|
previousMessageTimestamp: root.activityCenterStore.activityCenterList.getNotificationData(
|
||||||
root.activityCenterStore.activityCenterList.getNotificationData(
|
|
||||||
previousNotificationIndex, "timestamp")
|
previousNotificationIndex, "timestamp")
|
||||||
visible: text !== ""
|
visible: text !== ""
|
||||||
}
|
}
|
||||||
|
@ -52,6 +52,7 @@ ActivityNotificationBase {
|
|||||||
Layout.preferredWidth: root.messageDetails.sender.profileImage.assetSettings.width
|
Layout.preferredWidth: root.messageDetails.sender.profileImage.assetSettings.width
|
||||||
Layout.preferredHeight: profileImage.height
|
Layout.preferredHeight: profileImage.height
|
||||||
Layout.alignment: Qt.AlignTop
|
Layout.alignment: Qt.AlignTop
|
||||||
|
Layout.leftMargin: Style.current.padding
|
||||||
Layout.topMargin: 2
|
Layout.topMargin: 2
|
||||||
|
|
||||||
StatusSmartIdenticon {
|
StatusSmartIdenticon {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user