-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Jewel to Latest Version (0.24.2) #976
Conversation
skate-plugin/project-gen/src/jvmMain/kotlin/slack/tooling/aibot/PainterResource.kt
Outdated
Show resolved
Hide resolved
@@ -28,7 +28,7 @@ import org.jetbrains.compose.resources.decodeToSvgPainter | |||
|
|||
// Migration snippet copied from https://github.com/JetBrains/compose-multiplatform-core/pull/1457 | |||
// To resolve deprecated painterResource function from upgrading compose-jb | |||
class PainterResource { | |||
object PainterResource { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it need to be an object vs top-level functions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yeah it doesn't need to be top-level. I wrapped it in the class originally because I was afraid it would call the deprecated painterResource function, but since I removed the import it should be good. I think I should remove the object :
d432093
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before you merge let's do a quick sanity test running the plugin in studio and runIde works, just since we got burned before 👍
Referencing #937 which was reverted due to not upgrading to IJ platform 2.0.1 yet, but now is done here: #973.