🐛 Bug fixes

This commit is contained in:
2025-05-23 00:05:49 +08:00
parent f646dd9c0c
commit e656591527
5 changed files with 30 additions and 14 deletions

View File

@ -68,8 +68,11 @@ class ChatRoomListTile extends StatelessWidget {
subtitle != null
? subtitle!
: (isDirect && room.description == null)
? Text(room.members!.map((e) => '@${e.account.name}').join(', '))
: Text(room.description ?? 'descriptionNone'.tr()),
? Text(
room.members!.map((e) => '@${e.account.name}').join(', '),
maxLines: 1,
)
: Text(room.description ?? 'descriptionNone'.tr(), maxLines: 1),
trailing: trailing,
onTap: onTap,
);