Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Dansoftowner committed May 5, 2021
1 parent f8b1138 commit 5dee31f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ detector.registerListener(isDark -> {
});
```

#### Using it with Swing/JavaFX
#### Using it with JavaFX/Swing
If you use the listener for changing the UI in a **JavaFX** application, make sure you use `Platform.runLater` in it:
```java
final OsThemeDetector detector = OsThemeDetector.getDetector();
Expand Down

0 comments on commit 5dee31f

Please sign in to comment.