Skip to content

Commit e684e80

Browse files
committed
refactor: use isReady()
1 parent 4f8986b commit e684e80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/kotlin/spp/jetbrains/indicator/LiveIndicator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ abstract class LiveIndicator(val project: Project) {
5151
vertx.setPeriodic(5000) { timerId ->
5252
periodicTimerId = timerId
5353
vertx.safeLaunch {
54-
if (SourceStatusService.getInstance(project).getCurrentStatus().first != Ready) {
54+
if (!SourceStatusService.getInstance(project).isReady()) {
5555
log.debug("Not ready, ignoring indicator refresh")
5656
return@safeLaunch
5757
}

0 commit comments

Comments
 (0)