Fixes F-droid version for mutable colors as background.

pull/449/head^2
Vitor Pamplona 2023-06-09 16:43:47 -04:00
rodzic 267b5e474c
commit ffe6f4b55c
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -1,6 +1,7 @@
package com.vitorpamplona.amethyst.ui.components
import androidx.compose.runtime.Composable
import androidx.compose.runtime.MutableState
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import com.vitorpamplona.amethyst.ui.actions.ImmutableListOfLists
@ -12,7 +13,7 @@ fun TranslatableRichTextViewer(
canPreview: Boolean,
modifier: Modifier = Modifier,
tags: ImmutableListOfLists<String>,
backgroundColor: Color,
backgroundColor: MutableState<Color>,
accountViewModel: AccountViewModel,
nav: (String) -> Unit
) = ExpandableRichTextViewer(