Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

chore: fix flutter analyze

Lucas.Xu1de5b274c331
diff --git a/frontend/app_flowy/packages/appflowy_editor/lib/src/service/internal_key_event_handlers/copy_paste_handler.dart b/frontend/app_flowy/packages/appflowy_editor/lib/src/service/internal_key_event_handlers/copy_paste_handler.dart
index 0b0c9ec914..47b8c3967c 100644
--- a/frontend/app_flowy/packages/appflowy_editor/lib/src/service/internal_key_event_handlers/copy_paste_handler.dart
+++ b/frontend/app_flowy/packages/appflowy_editor/lib/src/service/internal_key_event_handlers/copy_paste_handler.dart
@@ -361,8 +361,6 @@ void _deleteSelectedContent(EditorState editorState) {
editorState.apply(tb);
}
-void _setDataToClipboard({String? html, String? text}) {}
-
ShortcutEventHandler copyEventHandler = (editorState, event) {
_handleCopy(editorState);
return KeyEventResult.handled;