halilozercan / compose-richtext

A collection of Compose libraries for advanced text formatting and alternative display types.
https://halilibo.com/compose-richtext
Apache License 2.0
750 stars 59 forks source link

0.20.0 Update #126

Closed halilozercan closed 6 months ago

halilozercan commented 6 months ago

Version updates;

Api Updates;

sschuberth commented 6 months ago
  • Removed SetupMaterialRichText
  • Removed SetupMaterial3RichText

What's the migration path here, as the successor RichTextMaterialTheme is internal?

halilozercan commented 6 months ago

I think there was nohing inherently useful about these helper functions. You can easily write your own RichTextMaterialTheme using RichTextThemeProvider from richtext-ui. Or, just simply copy paste RichTextMaterialTheme if you really want to set up Material integration once at the top.

RichText composable should be enough in most cases as it will internally do the setup for you.