1
0

qml: don't determine channel state on gui string, use state enum instead

This commit is contained in:
Sander van Grieken
2023-04-17 13:52:16 +02:00
parent a1314f5992
commit 73f89d516a
3 changed files with 3 additions and 2 deletions

View File

@@ -72,7 +72,7 @@ Pane {
Label {
text: channeldetails.state
color: channeldetails.state == 'OPEN'
color: channeldetails.stateCode == ChannelDetails.Open
? constants.colorChannelOpen
: Material.foreground
}