mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-21 19:18:53 +00:00
fix(Community Permissions): Update PermissionItem
according to the new design
Removed `and` text between items in `In` section. Fixes #9049
This commit is contained in:
parent
985ef830df
commit
cc4ebc0ec8
@ -154,30 +154,16 @@ Control{
|
||||
Repeater {
|
||||
model: root.channelsListModel
|
||||
|
||||
RowLayout {
|
||||
spacing: content.spacing
|
||||
|
||||
StatusBaseText {
|
||||
id: operatorInText
|
||||
Layout.preferredHeight: d.flowRowHeight
|
||||
visible: model.index !== 0
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
text: qsTr("and")
|
||||
font.pixelSize: d.itemTextPixelSize
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
|
||||
}
|
||||
StatusListItemTag {
|
||||
Layout.preferredHeight: d.flowRowHeight
|
||||
Layout.maximumWidth: (model.index !== 0) ? (content.width - operatorInText.width - spacing) : content.width
|
||||
title: model.text
|
||||
asset.name: model.imageSource
|
||||
asset.isImage: true
|
||||
asset.bgColor: "transparent"
|
||||
closeButtonVisible: false
|
||||
titleText.color: Theme.palette.primaryColor1
|
||||
titleText.font.pixelSize: d.tagTextPixelSize
|
||||
}
|
||||
StatusListItemTag {
|
||||
height: d.flowRowHeight
|
||||
width: (implicitWidth > content.width) ? content.width : implicitWidth
|
||||
title: model.text
|
||||
asset.name: model.imageSource
|
||||
asset.isImage: true
|
||||
asset.bgColor: "transparent"
|
||||
closeButtonVisible: false
|
||||
titleText.color: Theme.palette.primaryColor1
|
||||
titleText.font.pixelSize: d.tagTextPixelSize
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user