ui(Communities): remove unnecessary dividers in modals
There was a change in StatusQ that introduced dividers for modal footers and headers, so we don't need to put them in the content manually anymore. This commit removes the no longer needed ones.
This commit is contained in:
parent
bdda052968
commit
9795890544
|
@ -1 +1 @@
|
|||
Subproject commit 18dbaadd4397395cfd41319cdbc49a5d0fcdbaa1
|
||||
Subproject commit 28ff7b267beaf864f25bcb89b4c19fc071ef3a10
|
|
@ -101,6 +101,7 @@ StatusModal {
|
|||
|
||||
leftButtons: [
|
||||
StatusRoundButton {
|
||||
id: backButton
|
||||
icon.name: "arrow-right"
|
||||
icon.height: 16
|
||||
icon.width: 20
|
||||
|
@ -115,8 +116,7 @@ StatusModal {
|
|||
|
||||
rightButtons: [
|
||||
StatusButton {
|
||||
//% "Invite"
|
||||
text: qsTrId("community-invite-title")
|
||||
text: qsTr("Invite")
|
||||
visible: popup.contentComponent.depth > 2
|
||||
height: !visible ? 0 : implicitHeight
|
||||
enabled: popup.contentComponent.currentItem.contactListSearch !== undefined && popup.contentComponent.currentItem.contactListSearch.pubKeys.length > 0
|
||||
|
|
|
@ -28,10 +28,6 @@ Column {
|
|||
contactFieldAndList.successMessage = qsTrId("invite-successfully-sent")
|
||||
}
|
||||
|
||||
StatusModalDivider {
|
||||
bottomPadding: 8
|
||||
}
|
||||
|
||||
StatusDescriptionListItem {
|
||||
//% "Share community"
|
||||
title: qsTrId("share-community")
|
||||
|
|
|
@ -27,8 +27,6 @@ Item {
|
|||
|
||||
id: memberSearchAndInviteButton
|
||||
|
||||
StatusModalDivider {}
|
||||
|
||||
Item {
|
||||
width: parent.width
|
||||
height: 76
|
||||
|
@ -87,6 +85,7 @@ Item {
|
|||
anchors.top: memberSearchAndInviteButton.bottom
|
||||
|
||||
contentHeight: Math.max(300, memberListColumn.height)
|
||||
bottomPadding: 8
|
||||
clip: true
|
||||
|
||||
Item {
|
||||
|
@ -206,9 +205,4 @@ Item {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
StatusModalDivider {
|
||||
anchors.top: scrollView.bottom
|
||||
topPadding: 8
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,12 +23,8 @@ Column {
|
|||
signal transferOwnershipButtonClicked()
|
||||
signal leaveButtonClicked()
|
||||
|
||||
StatusModalDivider {
|
||||
bottomPadding: 8
|
||||
}
|
||||
|
||||
Item {
|
||||
height: 46
|
||||
height: Math.max(46, communityDescription.height + 16)
|
||||
width: parent.width
|
||||
StatusBaseText {
|
||||
id: communityDescription
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit a1da1f403d9034f0f09582c832863c902751e9fb
|
||||
Subproject commit e7694f16ceccd7c98ecb6870263025018b7d37b3
|
Loading…
Reference in New Issue