diff --git a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/image_menu.dart b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/image_menu.dart index 7dbced9728..64ee4f9f29 100644 --- a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/image_menu.dart +++ b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/image/image_menu.dart @@ -149,7 +149,6 @@ class _ImageAlignButtonState extends State<_ImageAlignButton> { child: MenuBlockButton( tooltip: LocaleKeys.document_plugins_optionAction_align.tr(), iconData: iconFor(align), - onTap: () {}, ), popupBuilder: (_) { preventMenuClose(); diff --git a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/math_equation/math_equation_block_component.dart b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/math_equation/math_equation_block_component.dart index 0fa144b02e..5b9bfda88f 100644 --- a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/math_equation/math_equation_block_component.dart +++ b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/math_equation/math_equation_block_component.dart @@ -222,6 +222,7 @@ class MathEquationBlockComponentWidgetState actions: [ SecondaryTextButton( LocaleKeys.button_cancel.tr(), + mode: TextButtonMode.big, onPressed: () => dismiss(context), ), PrimaryTextButton(