Bug 1815634 - Set weight and fill to text to display collection expand

fenix/112.0
gitstart 1 year ago committed by mergify[bot]
parent 5520a79b4e
commit 32ed9fd197

@ -21,6 +21,7 @@ import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.text.TextStyle
import androidx.compose.ui.text.style.TextOverflow
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import org.mozilla.fenix.R
@ -68,6 +69,8 @@ fun ExpandableListHeader(
color = FirefoxTheme.colors.textPrimary,
style = headerTextStyle,
maxLines = 1,
overflow = TextOverflow.Ellipsis,
modifier = Modifier.weight(1f),
)
expanded?.let {

Loading…
Cancel
Save