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,13 +44,16 @@ class ChatAppBarTitle extends StatelessWidget {
size: 32, size: 32,
), ),
const SizedBox(width: 12), const SizedBox(width: 12),
Text( Expanded(
child: Text(
room.getLocalizedDisplayname(MatrixLocals(L10n.of(context)!)), room.getLocalizedDisplayname(MatrixLocals(L10n.of(context)!)),
maxLines: 1, maxLines: 1,
overflow: TextOverflow.ellipsis,
style: const TextStyle( style: const TextStyle(
fontSize: 16, fontSize: 16,
), ),
), ),
),
], ],
), ),
); );