diff --git a/frontend/appflowy_flutter/lib/mobile/presentation/database/field/mobile_field_bottom_sheets.dart b/frontend/appflowy_flutter/lib/mobile/presentation/database/field/mobile_field_bottom_sheets.dart index bd539f4821..0f20737856 100644 --- a/frontend/appflowy_flutter/lib/mobile/presentation/database/field/mobile_field_bottom_sheets.dart +++ b/frontend/appflowy_flutter/lib/mobile/presentation/database/field/mobile_field_bottom_sheets.dart @@ -94,9 +94,6 @@ void mobileCreateFieldWorkflow( if (optionValues != null) { await optionValues.create(viewId: viewId, position: position); } - if (context.mounted) { - context.pop(); - } } /// Used to edit a field. diff --git a/frontend/appflowy_flutter/lib/mobile/presentation/database/view/database_sort_bottom_sheet.dart b/frontend/appflowy_flutter/lib/mobile/presentation/database/view/database_sort_bottom_sheet.dart index f840db7667..6beb89ffeb 100644 --- a/frontend/appflowy_flutter/lib/mobile/presentation/database/view/database_sort_bottom_sheet.dart +++ b/frontend/appflowy_flutter/lib/mobile/presentation/database/view/database_sort_bottom_sheet.dart @@ -262,11 +262,9 @@ class _SortItem extends StatelessWidget { children: [ Padding( padding: const EdgeInsets.symmetric(horizontal: 12.0), - child: Expanded( - child: FlowyText.medium( - LocaleKeys.grid_sort_by.tr(), - fontSize: 15, - ), + child: FlowyText.medium( + LocaleKeys.grid_sort_by.tr(), + fontSize: 15, ), ), const VSpace(10),