Skip to content

convert scd_color_dialog_transparent_pattern.svg to Android XML #92

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Mystery00
Copy link

@Mystery00 Mystery00 commented Jul 26, 2025

Android platform doesn't support SVG format.

java.lang.IllegalStateException: Android platform doesn't support SVG format.
	at org.jetbrains.compose.resources.ImageResources_androidKt.toSvgElement(ImageResources.android.kt:24)
	at org.jetbrains.compose.resources.ImageResourcesKt$svgPainter$svgPainter$3$1.invokeSuspend$lambda$0(ImageResources.kt:119)
	at org.jetbrains.compose.resources.ImageResourcesKt$svgPainter$svgPainter$3$1.$r8$lambda$JArmhEdj4SYyadxJYjI9ju1sSWE(Unknown Source:0)
	at org.jetbrains.compose.resources.ImageResourcesKt$svgPainter$svgPainter$3$1$$ExternalSyntheticLambda0.invoke(D8$$SyntheticClass:0)
	at org.jetbrains.compose.resources.ImageResourcesKt$loadImage$2.invokeSuspend(ImageResources.kt:163)
	at org.jetbrains.compose.resources.ImageResourcesKt$loadImage$2.invoke(Unknown Source:8)
	at org.jetbrains.compose.resources.ImageResourcesKt$loadImage$2.invoke(Unknown Source:2)
	at org.jetbrains.compose.resources.AsyncCache$getOrLoad$2$deferred$1$1.invokeSuspend(AsyncCache.kt:19)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:263)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:94)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:70)
	at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
	at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
	at org.jetbrains.compose.resources.ResourceState_blockingKt.rememberResourceState(ResourceState.blocking.kt:46)
	at org.jetbrains.compose.resources.ImageResourcesKt.svgPainter(ImageResources.kt:116)
	at org.jetbrains.compose.resources.ImageResourcesKt.painterResource(ImageResources.kt:42)
	at com.maxkeppeler.sheets.color.views.ColorTemplateItemComponentKt$ColorTemplateItemComponent$1$2.invoke(ColorTemplateItemComponent.kt:72)
	at com.maxkeppeler.sheets.color.views.ColorTemplateItemComponentKt$ColorTemplateItemComponent$1$2.invoke(ColorTemplateItemComponent.kt:67)
	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.kt:130)

@Mystery00
Copy link
Author

Mystery00 commented Jul 26, 2025

New change e155705 (#92)
Fix color show format
Make color dialog icon smaller

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant