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

@@ -17,6 +17,7 @@ class QEChannelDetails(QObject, QtEventListener):
_logger = get_logger(__name__)
class State: # subset, only ones we currently need in UI
Open = ChannelState.OPEN
Closed = ChannelState.CLOSED
Redeemed = ChannelState.REDEEMED