mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-18 01:27:25 +00:00
subscribe node module to notifications
This commit is contained in:
parent
755fd6056b
commit
6a4c50fe9c
@ -51,8 +51,9 @@ proc mainProc() =
|
|||||||
|
|
||||||
signalController.init()
|
signalController.init()
|
||||||
signalController.addSubscriber(SignalType.Wallet, wallet)
|
signalController.addSubscriber(SignalType.Wallet, wallet)
|
||||||
|
signalController.addSubscriber(SignalType.Wallet, node)
|
||||||
signalController.addSubscriber(SignalType.Message, chat)
|
signalController.addSubscriber(SignalType.Message, chat)
|
||||||
|
|
||||||
engine.setRootContextProperty("signals", signalController.variant)
|
engine.setRootContextProperty("signals", signalController.variant)
|
||||||
|
|
||||||
appState.subscribe(proc () =
|
appState.subscribe(proc () =
|
||||||
|
@ -29,9 +29,19 @@ SplitView {
|
|||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.topMargin: 0
|
anchors.topMargin: 0
|
||||||
|
|
||||||
RowLayout {
|
ColumnLayout {
|
||||||
id: messageContainer
|
id: messageContainer
|
||||||
Layout.fillHeight: true
|
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 {
|
Text {
|
||||||
id: test
|
id: test
|
||||||
color: Theme.lightBlueText
|
color: Theme.lightBlueText
|
||||||
@ -40,7 +50,7 @@ SplitView {
|
|||||||
anchors.left: walletAmountValue.right
|
anchors.left: walletAmountValue.right
|
||||||
anchors.leftMargin: 5
|
anchors.leftMargin: 5
|
||||||
font.weight: Font.Medium
|
font.weight: Font.Medium
|
||||||
font.pixelSize: 30
|
font.pixelSize: 20
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user