Skip to content

Commit

Permalink
Suggest detekt as plugin for this repo
Browse files Browse the repository at this point in the history
  • Loading branch information
arturbosch committed Mar 31, 2024
1 parent 27af9a7 commit 98582e2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .idea/externalDependencies.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ class RulesBrowserService : Disposable {
private val isDarkTheme: Boolean
get() {
// Do not use UIManager.getLookAndFeel().defaults because it won't work.
// We use UIManager.getLookAndFeelDefaults() in installTheme in com.intellij.ide.ui.laf.LafManagerImpl.doSetLaF
// We use UIManager.getLookAndFeelDefaults() in installTheme
// in com.intellij.ide.ui.laf.LafManagerImpl.doSetLaF.
val lookAndFeelDefaults = UIManager.getLookAndFeelDefaults()
return lookAndFeelDefaults == null || lookAndFeelDefaults.getBoolean("ui.theme.is.dark")
}
Expand Down

0 comments on commit 98582e2

Please sign in to comment.