Skip to content

Commit f1f4aae

Browse files
committed
2 parents 7037458 + 0f05f5f commit f1f4aae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ detector.registerListener(isDark -> {
5555
} else {
5656
// The OS switched to a light theme
5757
}
58-
})
58+
});
5959
});
6060
```
6161
It's important because if you are doing JavaFX specific stuff in the listener, you should execute it on the `JavaFX Application Thread`.

0 commit comments

Comments
 (0)