mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-03-10 08:11:20 +00:00
Do not render preview if protocol between IJ & Gradle does not match (#2556)
This commit is contained in:
@@ -23,8 +23,9 @@ internal fun RemoteConnection.receiveAttach(
|
||||
listener?.onError(
|
||||
"Compose Multiplatform Gradle plugin version is not compatible with Intellij plugin version"
|
||||
)
|
||||
} else {
|
||||
fn()
|
||||
}
|
||||
fn()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ internal class PreviewPanel(private val myProject: Project) : JBPanel<PreviewPan
|
||||
clear()
|
||||
appendLine(
|
||||
AllIcons.General.Error,
|
||||
"Preview rendering encountered an error",
|
||||
"Preview encountered an error",
|
||||
SimpleTextAttributes.REGULAR_ATTRIBUTES,
|
||||
null
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user