🐛 Bug fixes

This commit is contained in:
2024-10-05 03:38:30 +08:00
parent 8d79274b0c
commit ac60043ca7
4 changed files with 22 additions and 4 deletions

View File

@ -202,7 +202,7 @@ class _ChannelChatScreenState extends State<ChannelChatScreen>
String? placeholder;
final otherside =
_channel!.members!.where((e) => e.account.id != _accountId).firstOrNull;
_channel?.members!.where((e) => e.account.id != _accountId).firstOrNull;
if (_channel?.type == 1 && otherside != null) {
title = otherside.account.nick;

View File

@ -131,7 +131,7 @@ class _ChatScreenState extends State<ChatScreen> {
..._channels.directChannels
]),
selfId: selfId,
useReplace: true,
useReplace: false,
),
),
),