mirror of
https://github.com/nostrlabs-io/zap-stream-flutter.git
synced 2025-06-16 03:58:09 +00:00
fix: clear chat before async
This commit is contained in:
@ -454,9 +454,9 @@ class __WriteMessageWidget extends State<_WriteMessageWidget> {
|
||||
["a", widget.stream.aTag],
|
||||
],
|
||||
);
|
||||
_controller.text = "";
|
||||
final res = ndk.broadcast.broadcast(nostrEvent: chatMsg);
|
||||
await res.broadcastDoneFuture;
|
||||
_controller.text = "";
|
||||
}
|
||||
|
||||
@override
|
||||
|
Reference in New Issue
Block a user