Skip to content

Commit

Permalink
Merge pull request #2494 from nextcloud/fix/talk_app/room-displayname…
Browse files Browse the repository at this point in the history
…-overflow
  • Loading branch information
provokateurin authored Sep 14, 2024
2 parents e0132af + c1188d0 commit cd697a1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,10 @@ class _TalkMainPageState extends State<TalkMainPage> {
leading: TalkRoomAvatar(
room: room,
),
title: Text(room.displayName),
title: Text(
room.displayName,
overflow: TextOverflow.ellipsis,
),
subtitle: subtitle,
trailing: trailing,
onTap: () async {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,10 @@ class _TalkRoomPageState extends State<TalkRoomPage> {
builder: (context, result) {
final room = result.requireData;

Widget title = Text(room.displayName);
Widget title = Text(
room.displayName,
overflow: TextOverflow.ellipsis,
);

final statusMessage = room.statusMessage;
if (statusMessage != null) {
Expand Down

0 comments on commit cd697a1

Please sign in to comment.