qml: add import channel backup
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user