mirror of
https://github.com/Suwayomi/TachideskJUI.git
synced 2026-01-06 03:42:33 +01:00
Use invokeLater for the swing theme installer to avoid errors
Also enable logging for it
This commit is contained in:
@@ -69,7 +69,10 @@ fun main() {
|
||||
ThemeMode.Light -> IntelliJTheme()
|
||||
ThemeMode.Dark -> DarculaTheme()
|
||||
}
|
||||
LafManager.install(theme)
|
||||
LafManager.enableLogging(BuildConfig.DEBUG)
|
||||
SwingUtilities.invokeLater {
|
||||
LafManager.install(theme)
|
||||
}
|
||||
}
|
||||
.launchIn(GlobalScope)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user