fix: Archive does not update its state
This commit is contained in:
parent
9d29f9dcd2
commit
b42a565a9a
5 changed files with 32 additions and 34 deletions
|
|
@ -949,15 +949,6 @@ class ChatController extends State<ChatPageWithRoom> {
|
|||
return sendEmojiAction(emoji.emoji);
|
||||
}
|
||||
|
||||
void forgetRoom() async {
|
||||
final result = await showFutureLoadingDialog(
|
||||
context: context,
|
||||
future: room.forget,
|
||||
);
|
||||
if (result.error != null) return;
|
||||
context.go('/rooms/archive');
|
||||
}
|
||||
|
||||
void typeEmoji(Emoji? emoji) {
|
||||
if (emoji == null) return;
|
||||
final text = sendController.text;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue