Skip to content

Commit c7c73b8

Browse files
committed
qml: add PeersIndicator to BlockClock
1 parent 4f3368a commit c7c73b8

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

src/qml/components/BlockClock.qml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -66,21 +66,12 @@ Item {
6666
color: Theme.color.neutral4
6767
}
6868

69-
RowLayout {
70-
id: peersIndicator
69+
PeersIndicator {
7170
anchors.top: subText.bottom
7271
anchors.topMargin: 20
7372
anchors.horizontalCenter: root.horizontalCenter
74-
spacing: 5
75-
Repeater {
76-
model: 5
77-
Rectangle {
78-
width: 3
79-
height: width
80-
radius: width/2
81-
color: Theme.color.neutral9
82-
}
83-
}
73+
numOutboundPeers: nodeModel.numOutboundPeers
74+
maxNumOutboundPeers: nodeModel.maxNumOutboundPeers
8475
}
8576

8677
MouseArea {

0 commit comments

Comments
 (0)