Skip to content

Commit ca9c990

Browse files
authored
Merge pull request #150 from lewis-yeung/develop
修正状态栏计时器文字显示
2 parents fa2d77d + a553d55 commit ca9c990

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/service/StatusBarTimeService.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,17 +112,17 @@ class StatusBarTimeService implements Disposable {
112112
if (this.questionNode?.id) {
113113
pre = `${this.questionNode?.id}题`;
114114
}
115-
this.showBar.text = `${pre}计时:${diffstr}`;
115+
this.showBar.text = `${pre}计时: ${diffstr}`;
116116
} else if (this.saveTime > 0) {
117117
let diff = this.saveTime;
118118
let diffstr = this.getDiffStr(diff);
119119
let pre = "做题";
120120
if (this.questionNode?.id) {
121121
pre = `${this.questionNode?.id}题`;
122122
}
123-
this.showBar.text = `${pre}题计时:${diffstr}`;
123+
this.showBar.text = `${pre}计时: ${diffstr}`;
124124
} else {
125-
this.showBar.text = `做题计时:${this.getDiffStr(0)}`;
125+
this.showBar.text = `做题计时: ${this.getDiffStr(0)}`;
126126
}
127127
}
128128

0 commit comments

Comments
 (0)