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
feat: double click day cell to create event (#2424)
Richard Shiuec4ff1a629034
diff --git a/frontend/appflowy_flutter/lib/plugins/database_view/calendar/presentation/calendar_day.dart b/frontend/appflowy_flutter/lib/plugins/database_view/calendar/presentation/calendar_day.dartindex 32994cc06a..ad1161e950 100644--- a/frontend/appflowy_flutter/lib/plugins/database_view/calendar/presentation/calendar_day.dart+++ b/frontend/appflowy_flutter/lib/plugins/database_view/calendar/presentation/calendar_day.dart@@ -82,13 +82,16 @@ class CalendarDayCard extends StatelessWidget {return Container(color: backgroundColor,- child: MouseRegion(- cursor: SystemMouseCursors.basic,- onEnter: (p) => notifyEnter(context, true),- onExit: (p) => notifyEnter(context, false),- child: Padding(- padding: const EdgeInsets.only(top: 8.0),- child: child,+ child: GestureDetector(+ onDoubleTap: () => onCreateEvent(date),+ child: MouseRegion(+ cursor: SystemMouseCursors.basic,+ onEnter: (p) => notifyEnter(context, true),+ onExit: (p) => notifyEnter(context, false),+ child: Padding(+ padding: const EdgeInsets.only(top: 8.0),+ child: child,+ ),),),);