1
0

qml: add import channel backup

This commit is contained in:
Sander van Grieken
2022-11-16 16:50:23 +01:00
parent 0687785994
commit 495d8d6fae
4 changed files with 168 additions and 1 deletions

View File

@@ -60,14 +60,17 @@ ItemDelegate {
Label {
Layout.fillWidth: true
text: model.node_alias ? model.node_alias : model.node_id
font.family: model.node_alias ? app.font.family : FixedFont
font.pixelSize: model.node_alias ? constants.fontSizeMedium : constants.fontSizeSmall
elide: Text.ElideRight
wrapMode: Text.Wrap
maximumLineCount: 2
maximumLineCount: model.node_alias ? 2 : 1
color: _closed ? constants.mutedForeground : Material.foreground
}
Label {
text: model.state
font.pixelSize: constants.fontSizeMedium
color: _closed
? constants.mutedForeground
: model.state == 'OPEN'