diff --git a/star.debug/lib/pages/dialogs/confirm.dart b/star.debug/lib/pages/dialogs/confirm.dart index 5a7387a..3c4a84b 100644 --- a/star.debug/lib/pages/dialogs/confirm.dart +++ b/star.debug/lib/pages/dialogs/confirm.dart @@ -40,6 +40,8 @@ class _ConfirmDialogState extends State 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: [ diff --git a/star.debug/lib/pages/dialogs/hint.dart b/star.debug/lib/pages/dialogs/hint.dart index 6d51074..fb8c7e3 100644 --- a/star.debug/lib/pages/dialogs/hint.dart +++ b/star.debug/lib/pages/dialogs/hint.dart @@ -93,6 +93,8 @@ class _HintDialogState extends State MarkdownBody( styleSheet: style, selectable: true, + // try to fix NPE ... wait for fixes + onSelectionChanged: (String? text, TextSelection selection, SelectionChangedCause? cause) {}, data: widget.hint, ), ],