mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-02 09:46:38 +00:00
fix: fix muted chats modal not showing correctly
This commit is contained in:
parent
f9699b7ca0
commit
13dc160d11
@ -19,12 +19,12 @@ ModalPopup {
|
|||||||
id: mutedChatsList
|
id: mutedChatsList
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
visible: true
|
visible: true
|
||||||
height: childrenRect.height
|
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
model: root.showMutedContacts ? profileModel.mutedContacts : profileModel.mutedChats
|
model: root.showMutedContacts ? profileModel.mutedContacts : profileModel.mutedChats
|
||||||
delegate: Rectangle {
|
delegate: Rectangle {
|
||||||
height: contactImage.height + Style.current.smallPadding * 2
|
height: contactImage.height + Style.current.smallPadding * 2
|
||||||
|
width: parent.width
|
||||||
color: Style.current.transparent
|
color: Style.current.transparent
|
||||||
|
|
||||||
StatusIdenticon {
|
StatusIdenticon {
|
||||||
@ -52,20 +52,14 @@ ModalPopup {
|
|||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
}
|
}
|
||||||
|
|
||||||
StyledText {
|
StatusButton {
|
||||||
id: unmuteButton
|
id: unmuteButton
|
||||||
|
type: "secondary"
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
text: qsTr("Unmute")
|
text: qsTr("Unmute")
|
||||||
font.pixelSize: 15
|
onClicked: {
|
||||||
color: Style.current.primary
|
profileModel.unmuteChannel(model.id)
|
||||||
|
|
||||||
MouseArea {
|
|
||||||
cursorShape: Qt.PointingHandCursor
|
|
||||||
anchors.fill: parent
|
|
||||||
onClicked: {
|
|
||||||
profileModel.unmuteChannel(model.id)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user