Skip to content

Commit

Permalink
Merge branch 'base'
Browse files Browse the repository at this point in the history
  • Loading branch information
ertong committed May 20, 2024
2 parents f4d2ce4 + 9bcd2d7 commit ff3c101
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions star.debug/lib/pages/dialogs/confirm.dart
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ class _ConfirmDialogState extends State<ConfirmDialog>
content: widget.markdown ? MarkdownBody(
// styleSheet: style,
selectable: true,
// try to fix NPE ... wait for fixes
onSelectionChanged: (String? text, TextSelection selection, SelectionChangedCause? cause) {},
data: widget.text,
) : Text(widget.text),
actions: <Widget>[
Expand Down
2 changes: 2 additions & 0 deletions star.debug/lib/pages/dialogs/hint.dart
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ class _HintDialogState extends State<HintDialog>
MarkdownBody(
styleSheet: style,
selectable: true,
// try to fix NPE ... wait for fixes
onSelectionChanged: (String? text, TextSelection selection, SelectionChangedCause? cause) {},
data: widget.hint,
),
],
Expand Down

0 comments on commit ff3c101

Please sign in to comment.