mirror of
https://github.com/bitwarden/android.git
synced 2026-10-22 02:53:19 -05:00
Fix TopAppBar height for multiline titles (#6069)
This commit is contained in:
1 parent
c3496ca60f
commit
562b48d689
1 file changed
+1
-3
+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"),
|
||||
)
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user