Update function name

pull/1582/head
Ellet 2 years ago
parent ae96574b6f
commit 2df66e189d
No known key found for this signature in database
GPG Key ID: C488CC70BBCEF0D1
  1. 2
      lib/src/widgets/quill/quill_controller.dart
  2. 2
      lib/src/widgets/raw_editor/raw_editor_state.dart

@ -54,7 +54,7 @@ class QuillController extends ChangeNotifier {
notifyListeners(); notifyListeners();
} }
void updateContents( void setContents(
Delta delta, { Delta delta, {
ChangeSource changeSource = ChangeSource.local, ChangeSource changeSource = ChangeSource.local,
}) { }) {

@ -217,7 +217,7 @@ class QuillRawEditorState extends EditorState
final delta = deltaFromCliboard.compose(controller.document.toDelta()); final delta = deltaFromCliboard.compose(controller.document.toDelta());
controller controller
..updateContents( ..setContents(
delta, delta,
) )
..updateSelection( ..updateSelection(

Loading…
Cancel
Save