Skip to content

Commit 27d1796

Browse files
committed
Fix Suggestion Result Action
1 parent dbab7b6 commit 27d1796

File tree

1 file changed

+2
-2
lines changed
  • Plugins/Flow.Launcher.Plugin.WebSearch

1 file changed

+2
-2
lines changed

Plugins/Flow.Launcher.Plugin.WebSearch/Main.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ private async Task<IEnumerable<Result>> SuggestionsAsync(string keyword, string
136136
ActionKeywordAssigned = searchSource.ActionKeyword == SearchSourceGlobalPluginWildCardSign ? string.Empty : searchSource.ActionKeyword,
137137
Action = c =>
138138
{
139-
searchSource.Url.Replace("{q}", Uri.EscapeDataString(o));
139+
_context.API.OpenUrl(searchSource.Url.Replace("{q}", Uri.EscapeDataString(o)));
140140

141141
return true;
142142
}
@@ -156,7 +156,7 @@ void Init()
156156

157157
_settings = _context.API.LoadSettingJsonStorage<Settings>();
158158
_viewModel = new SettingsViewModel(_settings);
159-
159+
160160
var pluginDirectory = _context.CurrentPluginMetadata.PluginDirectory;
161161
var bundledImagesDirectory = Path.Combine(pluginDirectory, Images);
162162

0 commit comments

Comments
 (0)