MFlisar / ComposePreferences

Compose Preference Screen for Android - Material3 Design (including customisation, nesting and more)
Apache License 2.0
8 stars 0 forks source link

PreferenceContentText is forced to TextAlign.End even when using contentPlacementBottom = true #2

Closed jscti closed 8 months ago

jscti commented 8 months ago

Hi there

Small bug when using (on a PreferenceListMulti) :

itemSetup = PreferenceListDefaults.itemSetup().copy(
    contentPlacementBottom = true,
), 

Then text is aligned to the end (when text is quite long and wraped to next line) because it is hardcoded in the PreferenceContentText composable :

image

MFlisar commented 8 months ago

Solved in Release 0.4.1

jscti commented 8 months ago

Thanks ! That was quick !