Skip to content

Commit 332870c

Browse files
authored
Merge pull request #627 from doki-theme/2023.1Support
v88.3-1.8.2 - Initial 2023.1 Build Support
2 parents e22f981 + 90e5f52 commit 332870c

7 files changed

Lines changed: 13 additions & 9 deletions

File tree

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ It should contain:
2525
* OS (Windows, Linux, Mac)
2626
* IntelliJ Product + version (IDEA, RubyMine...)
2727
* Plugin version
28-
* If needed a list of enabled plugins -->
28+
* A list of enabled plugins -->
2929

3030

3131
**Screenshots**

changelog/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
Changelog
22
---
3+
# 88.3-1.8.2 [Initial 2023.1 Build Support]
4+
5+
- Added the initial 2023.1 build support.
6+
37

48
# 88.3-1.8.1 [Global Font Fix]
59

changelog/RELEASE-NOTES.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
- Fixed issue with global font override not being applied after IDE was restarted.
1+
- Fixed issue with global font override not being applied after IDE was restarted.
2+
- Added the initial 2023.1 build support.

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# -> https://www.jetbrains.org/intellij/sdk/docs/reference_guide/intellij_artifacts.html
33

44
pluginGroup=io.unthrottled
5-
pluginVersion=88.3-1.8.1
5+
pluginVersion=88.3-1.8.2
66
pluginSinceBuild=222
7-
pluginUntilBuild = 223.*
7+
pluginUntilBuild = 231.*
88

99
# Plugin Verifier integration -> https://github.com/JetBrains/gradle-intellij-plugin#plugin-verifier-dsl
1010
# See https://jb.gg/intellij-platform-builds-list for available build versions.

src/main/kotlin/io/unthrottled/doki/promotions/LedgerMaster.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package io.unthrottled.doki.promotions
22

33
import com.google.gson.GsonBuilder
44
import com.intellij.openapi.diagnostic.Logger
5-
import com.intellij.util.io.exists
65
import io.unthrottled.doki.assets.LocalStorageService
76
import io.unthrottled.doki.util.runSafely
87
import io.unthrottled.doki.util.runSafelyWithResult
@@ -11,6 +10,7 @@ import java.nio.charset.StandardCharsets
1110
import java.nio.file.Files
1211
import java.nio.file.Path
1312
import java.nio.file.StandardOpenOption
13+
import kotlin.io.path.exists
1414

1515
abstract class LedgerMaster<T>(
1616
private val ledgerPath: Path,

src/main/kotlin/io/unthrottled/doki/stickers/StickerComponent.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package io.unthrottled.doki.stickers
22

33
import com.intellij.ide.ui.LafManager
44
import com.intellij.ide.ui.LafManagerListener
5-
import com.intellij.ide.ui.laf.LafManagerImpl
65
import com.intellij.openapi.Disposable
76
import com.intellij.openapi.application.ApplicationManager
87
import io.unthrottled.doki.config.ThemeConfig
@@ -18,7 +17,7 @@ class StickerComponent :
1817

1918
init {
2019
StickerPaneService.instance.init()
21-
processLaf(LafManagerImpl.getInstance().currentLookAndFeel)
20+
processLaf(LafManager.getInstance().currentLookAndFeel)
2221
connection.subscribe(LafManagerListener.TOPIC, this)
2322
}
2423

src/main/kotlin/io/unthrottled/doki/themes/impl/ThemeManagerImpl.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package io.unthrottled.doki.themes.impl
22

33
import com.google.gson.Gson
4-
import com.intellij.ide.ui.laf.LafManagerImpl
4+
import com.intellij.ide.ui.LafManager
55
import com.intellij.ide.ui.laf.UIThemeBasedLookAndFeelInfo
66
import com.intellij.util.io.inputStream
77
import io.unthrottled.doki.TheDokiTheme
@@ -58,7 +58,7 @@ class ThemeManagerImpl : ThemeManager {
5858
get() = currentTheme.isPresent
5959

6060
override val currentTheme: Optional<DokiTheme>
61-
get() = processLaf(LafManagerImpl.getInstance().currentLookAndFeel)
61+
get() = processLaf(LafManager.getInstance().currentLookAndFeel)
6262

6363
override val allThemes: List<DokiTheme>
6464
get() = themeMap.values.toList()

0 commit comments

Comments
 (0)