Skip to content

Commit

Permalink
Merge pull request #61 from pangeachat/toolbar-testing
Browse files Browse the repository at this point in the history
small fix to make sure message text in toolbar is always set
  • Loading branch information
ggurdin authored Feb 10, 2024
2 parents a4ba1c8 + afb7b5c commit 2c87065
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/pangea/widgets/igc/pangea_rich_text.dart
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ class PangeaRichTextState extends State<PangeaRichText> {
}
});
return widget.pangeaMessageEvent.body;
} else {
widget.toolbarController.toolbar?.textSelection.setMessageText(
repEvent.text,
);
}

return repEvent.text;
Expand Down

0 comments on commit 2c87065

Please sign in to comment.