fix: mobile grid launch review (#4839)

* fix: mobile database sort editor not working on prod

* fix: don't pop after creating field
This commit is contained in:
Richard Shiue 2024-03-07 17:32:24 +08:00 committed by GitHub
parent a180cfcdc2
commit 677617dcf2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 8 deletions

View File

@ -94,9 +94,6 @@ void mobileCreateFieldWorkflow(
if (optionValues != null) { if (optionValues != null) {
await optionValues.create(viewId: viewId, position: position); await optionValues.create(viewId: viewId, position: position);
} }
if (context.mounted) {
context.pop();
}
} }
/// Used to edit a field. /// Used to edit a field.

View File

@ -262,11 +262,9 @@ class _SortItem extends StatelessWidget {
children: [ children: [
Padding( Padding(
padding: const EdgeInsets.symmetric(horizontal: 12.0), padding: const EdgeInsets.symmetric(horizontal: 12.0),
child: Expanded( child: FlowyText.medium(
child: FlowyText.medium( LocaleKeys.grid_sort_by.tr(),
LocaleKeys.grid_sort_by.tr(), fontSize: 15,
fontSize: 15,
),
), ),
), ),
const VSpace(10), const VSpace(10),