mirror of
https://github.com/nostrlabs-io/zap-stream-flutter.git
synced 2025-06-17 20:28:52 +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],
|
["a", widget.stream.aTag],
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
_controller.text = "";
|
||||||
final res = ndk.broadcast.broadcast(nostrEvent: chatMsg);
|
final res = ndk.broadcast.broadcast(nostrEvent: chatMsg);
|
||||||
await res.broadcastDoneFuture;
|
await res.broadcastDoneFuture;
|
||||||
_controller.text = "";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
Reference in New Issue
Block a user