Fix: unsafe operation while getting a overlay entry in text selection

pull/2117/head
CatHood0 8 months ago
parent 2342509737
commit 79f571aaa6
  1. 2
      lib/src/editor/widgets/text/text_selection.dart

@ -433,7 +433,7 @@ class EditorTextSelectionOverlay {
context: context,
below: magnifierConfiguration.shouldDisplayHandlesInMagnifier
? null
: _handles![0],
: _handles?.elementAtOrNull(0),
builder: (_) => builtMagnifier,
);
}

Loading…
Cancel
Save