jeziellago / compose-markdown

Markdown Text for Android Jetpack Compose 📋.
MIT License
508 stars 42 forks source link

Update to support Coil 2.x #22

Closed nonproto closed 2 years ago

nonproto commented 2 years ago

Attempting to use the library on a Coil 2.x project results in

 java.lang.IllegalStateException: Unsupported
        at coil.util.-Utils.unsupported(Utils.kt:227)
        at coil.ImageLoader$Builder.availableMemoryPercentage(ImageLoader.kt:538)
        at dev.jeziellago.compose.markdowntext.MarkdownTextKt.createMarkdownRender(MarkdownText.kt:124)
        at dev.jeziellago.compose.markdowntext.MarkdownTextKt.MarkdownText-2NoNlqI(MarkdownText.kt:50)
ohwittmannone commented 2 years ago

I'm also experiencing this error

jeziellago commented 2 years ago

Duplicated: #21