Merge branch 'krille/fix-appbar' into 'main'

chore: Follow up fix app bar

See merge request famedly/fluffychat!742
This commit is contained in:
Krille Fear 2022-02-17 13:32:39 +00:00
commit 9b7f494542
1 changed files with 8 additions and 5 deletions

View File

@ -44,11 +44,14 @@ class ChatAppBarTitle extends StatelessWidget {
size: 32,
),
const SizedBox(width: 12),
Text(
room.getLocalizedDisplayname(MatrixLocals(L10n.of(context)!)),
maxLines: 1,
style: const TextStyle(
fontSize: 16,
Expanded(
child: Text(
room.getLocalizedDisplayname(MatrixLocals(L10n.of(context)!)),
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: const TextStyle(
fontSize: 16,
),
),
),
],