Skip to content

Commit

Permalink
Not hiding wallpaper.
Browse files Browse the repository at this point in the history
  • Loading branch information
Unthrottled committed Jul 12, 2024
1 parent a611302 commit fcd43da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
1 change: 1 addition & 0 deletions src/main/kotlin/io/unthrottled/doki/icon/ColorPatcher.kt
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ object ColorPatcher : SvgElementColorPatcherProvider {
.filter { it.second != null }
.ifPresent {
val theme = ((it.second?.invoke(it.first)) as UITheme)
// todo fix
val themeClass = UITheme::class.java
val themeClassMethods = themeClass.methods
val attr = themeClassMethods.firstOrNull { method -> method.name == "attributeForPath" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -436,13 +436,7 @@ object UpdateNotification : Logging {
} else {
"/products/jetbrains/updates/$newVersion"
}
val extraParams =
if (needsToFixUpdateNotification()) {
"&showWallpaper=false"
} else {
""
}
val url = "https://doki-theme.unthrottled.io$urlParameters?themeId=${currentTheme.id}$extraParams"
val url = "https://doki-theme.unthrottled.io$urlParameters?themeId=${currentTheme.id}"
return url
}

Expand Down

0 comments on commit fcd43da

Please sign in to comment.