Merge pull request #91 from pangeachat/small-fixes

caching fix
This commit is contained in:
ggurdin 2024-02-28 13:21:05 -05:00 committed by GitHub
commit 9b6d4fd809
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -272,6 +272,8 @@ class MessageToolbarState extends State<MessageToolbar> {
@override
void initState() {
super.initState();
widget.textSelection.selectedText = null;
toolbarModeStream = widget.toolbarModeStream.stream.listen((mode) {
updateMode(mode);
});