diff --git a/lib/pages/chat/chat_app_bar_title.dart b/lib/pages/chat/chat_app_bar_title.dart index 73e0ee30b4..6305f453ca 100644 --- a/lib/pages/chat/chat_app_bar_title.dart +++ b/lib/pages/chat/chat_app_bar_title.dart @@ -112,6 +112,7 @@ class ChatAppBarTitle extends StatelessWidget { child: Text( statusMessage, style: style, + maxLines: 1, ), ), ], @@ -130,12 +131,17 @@ class ChatAppBarTitle extends StatelessWidget { .mInvitedMemberCount ?? 0), ), + maxLines: 1, style: style, ), if (room.topic.isNotEmpty) ...[ Text(' ◦ ', style: style), Expanded( - child: Text(room.topic, style: style), + child: Text( + room.topic, + style: style, + maxLines: 1, + ), ), ], ],