TextComposer: Fix preview color.

This commit is contained in:
Benoit Marty 2024-10-30 15:23:39 +01:00
parent 4b7ffb141e
commit b38f2714dc

View file

@ -505,11 +505,13 @@ private fun aTextEditorStateMarkdownList() = persistentListOf(
) )
private fun aTextEditorStateRichList() = persistentListOf( private fun aTextEditorStateRichList() = persistentListOf(
aTextEditorStateRich(), aTextEditorStateRich(initialFocus = true),
aTextEditorStateRich(initialText = "A message"), aTextEditorStateRich(initialText = "A message", initialFocus = true),
aTextEditorStateRich( aTextEditorStateRich(
initialText = "A message\nWith several lines\nTo preview larger textfields and long lines with overflow", initialText = "A message\nWith several lines\nTo preview larger textfields and long lines with overflow",
initialFocus = true
), ),
aTextEditorStateRich(initialText = "A message without focus", initialFocus = false),
) )
@PreviewsDayNight @PreviewsDayNight