Fix TopAppBar height for multiline titles (#6069)

This commit is contained in:
David Perez authored and GitHub committed 2025-10-22 21:09:28 +00:00
1 parent c3496ca60f
commit 562b48d689
1 file changed
+1 -3
@@ -143,14 +143,12 @@ fun BitwardenTopAppBar(
scrollBehavior = scrollBehavior,
navigationIcon = navigationIconContent,
collapsedHeight = minimumHeight,
expandedHeight = 96.dp,
title = {
// The height of the component is controlled and will only allow for 1 extra row,
// making adding any arguments for softWrap and minLines superfluous.
Text(
text = title,
style = BitwardenTheme.typography.titleLarge,
overflow = TextOverflow.Ellipsis,
maxLines = 2,
modifier = Modifier.testTag(tag = "PageTitleLabel"),
)
},