From 477e43b5e6f5f54fa00265de7aa617535241a319 Mon Sep 17 00:00:00 2001 From: Richard Shiue <71320345+richardshiue@users.noreply.github.com> Date: Mon, 25 Mar 2024 12:58:10 +0900 Subject: [PATCH] chore: adjust select option editor (#4980) * chore: adjust wording of hint * chore: remove unnecessary add button * chore: pdate select_option_editor.dart * chore: udate en.json --- .../widgets/cell_editor/select_option_editor.dart | 13 ------------- frontend/resources/translations/en.json | 6 +++--- 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/frontend/appflowy_flutter/lib/plugins/database/widgets/cell_editor/select_option_editor.dart b/frontend/appflowy_flutter/lib/plugins/database/widgets/cell_editor/select_option_editor.dart index a71e783dac..1b8b757939 100644 --- a/frontend/appflowy_flutter/lib/plugins/database/widgets/cell_editor/select_option_editor.dart +++ b/frontend/appflowy_flutter/lib/plugins/database/widgets/cell_editor/select_option_editor.dart @@ -205,19 +205,6 @@ class _Title extends StatelessWidget { color: Theme.of(context).hintColor, ), ), - Padding( - padding: const EdgeInsets.symmetric( - horizontal: 4.0, - ), - child: FlowyIconButton( - onPressed: onPressedAddButton, - width: 18, - icon: const FlowySvg( - FlowySvgs.add_s, - ), - iconColorOnHover: Theme.of(context).colorScheme.onSecondary, - ), - ), ], ), ), diff --git a/frontend/resources/translations/en.json b/frontend/resources/translations/en.json index bc840b3f58..2c0a4c977a 100644 --- a/frontend/resources/translations/en.json +++ b/frontend/resources/translations/en.json @@ -733,9 +733,9 @@ "blueColor": "Blue", "deleteTag": "Delete tag", "colorPanelTitle": "Color", - "panelTitle": "Select an option or create one", + "panelTitle": "Select an option", "searchOption": "Search for an option", - "searchOrCreateOption": "Search or create an option...", + "searchOrCreateOption": "Search...", "createNew": "Create a new", "orSelectOne": "Or select an option", "typeANewOption": "Type a new option", @@ -1437,4 +1437,4 @@ "noNetworkConnected": "No network connected" } } -} \ No newline at end of file +}