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: add more padding in bottom sheet widget (#4542)
Lucas.Xuf1e380c27607
diff --git a/frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/show_mobile_bottom_sheet.dart b/frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/show_mobile_bottom_sheet.dartindex eb22d81e20..be3d848e72 100644--- a/frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/show_mobile_bottom_sheet.dart+++ b/frontend/appflowy_flutter/lib/mobile/presentation/bottom_sheet/show_mobile_bottom_sheet.dart@@ -114,12 +114,10 @@ Future<T?> showMobileBottomSheet<T>(return children.first;}- // not full-screen mode- if (MediaQuery.of(context).padding.bottom == 0) {- children.add(- const VSpace(16),- );- }+ // add default padding+ children.add(+ VSpace(MediaQuery.of(context).padding.bottom == 0 ? 28.0 : 16.0),+ );return SafeArea(child: Column(