We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3761c3 commit 35896e4Copy full SHA for 35896e4
1 file changed
lib/pages/chat_setting_page.dart
@@ -1,5 +1,6 @@
1
import 'package:flutter/material.dart';
2
import 'package:flutter_chat/common/firebase.dart';
3
+import 'package:flutter_chat/common/showToast.dart';
4
import 'package:flutter_chat/components/common.dart';
5
import 'package:adaptive_dialog/adaptive_dialog.dart';
6
@@ -34,7 +35,7 @@ class _ChatSettingPageState extends State<ChatSettingPage> {
34
35
.doc(widget.chatId!)
36
.update({widget.messageListKey!: []}).then((value) {
37
Navigator.pop(context);
- showMessage(context: context, title: 'success');
38
+ showToast('success');
39
});
40
}
41
0 commit comments