rename context menus earch to 'new tab'
This commit is contained in:
@@ -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(
|
||||
|
||||
+4
-4
@@ -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,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user