rename context menus earch to 'new tab'

This commit is contained in:
Fabian Freund
2025-08-25 07:18:25 +02:00
parent f7b93d570c
commit bb2a30b0a8
2 changed files with 5 additions and 5 deletions
@@ -42,7 +42,7 @@ GeckoSelectionActionService selectionActionService(Ref ref) {
unawaited(
service.setActions([
SearchAction((text) async {
NewTabAction((text) async {
final router = await ref.read(routerProvider.future);
final settings = ref.read(generalSettingsWithDefaultsProvider);
final route = SearchRoute(
@@ -48,11 +48,11 @@ class DefaultSearchAction extends BaseSelectionAction {
);
}
class SearchAction extends BaseSelectionAction {
SearchAction(PerformAction action)
class NewTabAction extends BaseSelectionAction {
NewTabAction(PerformAction action)
: super(
id: 'CUSTOM_CONTEXT_MENU_SEARCH',
title: 'Search',
id: 'CUSTOM_CONTEXT_MENU_NEW_TAB',
title: 'New Tab',
performAction: action,
);
}