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

View File

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