[PTRun][WebSearch]Fix title not displaying the last letter (#35176)

This commit is contained in:
octastylos-pseudodipteros 2024-10-18 14:37:09 +02:00 committed by GitHub
parent 2ef987e1d9
commit 2335501421
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -72,7 +72,7 @@ namespace Community.PowerToys.Run.Plugin.WebSearch
string arguments = "? "; string arguments = "? ";
results.Add(new Result results.Add(new Result
{ {
Title = Properties.Resources.plugin_description.Remove(Description.Length - 1, 1), Title = Properties.Resources.plugin_description,
SubTitle = string.Format(CultureInfo.CurrentCulture, PluginInBrowserName, BrowserInfo.Name ?? BrowserInfo.MSEdgeName), SubTitle = string.Format(CultureInfo.CurrentCulture, PluginInBrowserName, BrowserInfo.Name ?? BrowserInfo.MSEdgeName),
QueryTextDisplay = string.Empty, QueryTextDisplay = string.Empty,
IcoPath = _iconPath, IcoPath = _iconPath,