Skip to content

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.

fix: mobile grid launch review (#4839)

Richard Shiue677617dcf2a9
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),