Skip to content

Commit

Permalink
Fix truncated AppBars on some screens (openfoodfacts#5891)
Browse files Browse the repository at this point in the history
  • Loading branch information
g123k authored Nov 21, 2024
1 parent a32fde1 commit ce4ea6a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class SearchAppBarTitle extends StatelessWidget {
Widget build(BuildContext context) {
final Widget child = Text(
title,
overflow: TextOverflow.ellipsis,
maxLines: multiLines ? 2 : 1,
);

Expand Down

0 comments on commit ce4ea6a

Please sign in to comment.