Skip to content

Commit 0b6d32e

Browse files
committed
qml: capitalize the BlockClock component's state names
1 parent fd40538 commit 0b6d32e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/qml/components/BlockClock.qml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Item {
9494

9595
states: [
9696
State {
97-
name: "intialBlockDownload"; when: !synced && !paused && conns
97+
name: "IBD"; when: !synced && !paused && conns
9898
PropertyChanges {
9999
target: root
100100
header: Math.round(nodeModel.verificationProgress * 100) + "%"
@@ -103,7 +103,7 @@ Item {
103103
},
104104

105105
State {
106-
name: "blockClock"; when: synced && !paused && conns
106+
name: "BLOCKCLOCK"; when: synced && !paused && conns
107107
PropertyChanges {
108108
target: root
109109
header: Number(nodeModel.blockTipHeight).toLocaleString(Qt.locale(), 'f', 0)
@@ -112,7 +112,7 @@ Item {
112112
},
113113

114114
State {
115-
name: "Manual Pause"; when: paused
115+
name: "PAUSE"; when: paused
116116
PropertyChanges {
117117
target: root
118118
header: "Paused"
@@ -130,7 +130,7 @@ Item {
130130
},
131131

132132
State {
133-
name: "Connecting"; when: !paused && !conns
133+
name: "CONNECTING"; when: !paused && !conns
134134
PropertyChanges {
135135
target: root
136136
header: "Connecting"

0 commit comments

Comments
 (0)