subscribe node module to notifications
This commit is contained in:
parent
755fd6056b
commit
6a4c50fe9c
|
@ -51,8 +51,9 @@ proc mainProc() =
|
|||
|
||||
signalController.init()
|
||||
signalController.addSubscriber(SignalType.Wallet, wallet)
|
||||
signalController.addSubscriber(SignalType.Wallet, node)
|
||||
signalController.addSubscriber(SignalType.Message, chat)
|
||||
|
||||
|
||||
engine.setRootContextProperty("signals", signalController.variant)
|
||||
|
||||
appState.subscribe(proc () =
|
||||
|
|
|
@ -29,9 +29,19 @@ SplitView {
|
|||
anchors.top: parent.top
|
||||
anchors.topMargin: 0
|
||||
|
||||
RowLayout {
|
||||
ColumnLayout {
|
||||
id: messageContainer
|
||||
Layout.fillHeight: true
|
||||
Text {
|
||||
id: testDescription
|
||||
color: Theme.lightBlueText
|
||||
text: "latest block (auto updates):"
|
||||
Layout.fillWidth: true
|
||||
anchors.left: walletAmountValue.right
|
||||
anchors.leftMargin: 5
|
||||
font.weight: Font.Medium
|
||||
font.pixelSize: 20
|
||||
}
|
||||
Text {
|
||||
id: test
|
||||
color: Theme.lightBlueText
|
||||
|
@ -40,7 +50,7 @@ SplitView {
|
|||
anchors.left: walletAmountValue.right
|
||||
anchors.leftMargin: 5
|
||||
font.weight: Font.Medium
|
||||
font.pixelSize: 30
|
||||
font.pixelSize: 20
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue