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.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
fix: build regression (#4667)
Richard Shiue1311e2d379ee
diff --git a/frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/emoji_picker/emoji_shortcut_event.dart b/frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/emoji_picker/emoji_shortcut_event.dartindex 805a72105b..e55d0325f4 100644--- a/frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/emoji_picker/emoji_shortcut_event.dart+++ b/frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/emoji_picker/emoji_shortcut_event.dart@@ -3,9 +3,10 @@ import 'package:flutter/material.dart';import 'package:appflowy/workspace/presentation/settings/widgets/emoji_picker/emoji_picker.dart';final CommandShortcutEvent emojiShortcutEvent = CommandShortcutEvent(- key: 'show emoji picker',+ key: 'Ctrl + Alt + E to show emoji picker',command: 'ctrl+alt+e',macOSCommand: 'cmd+alt+e',+ getDescription: () => 'Show an emoji picker',handler: _emojiShortcutHandler,);@@ -46,7 +47,7 @@ CommandShortcutEventHandler _emojiShortcutHandler = (editorState) {alignment = Alignment.topLeft;final bottomRight = rect.bottomRight;final topRight = rect.topRight;- var newOffset = bottomRight + menuOffset;+ final newOffset = bottomRight + menuOffset;offset = Offset(newOffset.dx,newOffset.dy,@@ -65,7 +66,7 @@ CommandShortcutEventHandler _emojiShortcutHandler = (editorState) {// show on leftif (offset.dx - editorOffset.dx > editorWidth / 2) {- alignment = _alignment == Alignment.topLeft+ alignment = alignment == Alignment.topLeft? Alignment.topRight: Alignment.bottomRight;