chore: Follow up fix app bar

This commit is contained in:
Christian Pauly 2022-02-17 14:16:39 +01:00
parent 4388828482
commit 33132598e7

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,
),
), ),
), ),
], ],