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: disable onTap when quick action button is disabled (#4713)
Richard Shiueacd75befbcac
diff --git a/frontend/appflowy_flutter/lib/mobile/presentation/widgets/flowy_mobile_quick_action_button.dart b/frontend/appflowy_flutter/lib/mobile/presentation/widgets/flowy_mobile_quick_action_button.dartindex ad5ac13bd5..4f0022bde4 100644--- a/frontend/appflowy_flutter/lib/mobile/presentation/widgets/flowy_mobile_quick_action_button.dart+++ b/frontend/appflowy_flutter/lib/mobile/presentation/widgets/flowy_mobile_quick_action_button.dart@@ -25,7 +25,11 @@ class MobileQuickActionButton extends StatelessWidget {return Padding(padding: const EdgeInsets.symmetric(horizontal: 4),child: InkWell(- onTap: onTap,+ onTap: () {+ if (enable) {+ onTap();+ }+ },borderRadius: BorderRadius.circular(12),overlayColor:enable ? null : const MaterialStatePropertyAll(Colors.transparent),