Refactoring proxy, part 2

This commit is contained in:
bao-qian
2016-06-19 16:18:43 +01:00
parent 764a372e9f
commit 3efeb4a0a6
41 changed files with 98 additions and 146 deletions

View File

@@ -104,7 +104,7 @@ namespace Wox.Plugin.WebSearch
private async Task<IEnumerable<Result>> Suggestions(string keyword, string subtitle, WebSearch webSearch)
{
var source = SuggestionSource.GetSuggestionSource(_settings.WebSearchSuggestionSource, Context);
var source = SuggestionSource.GetSuggestionSource(_settings.WebSearchSuggestionSource);
if (source != null)
{
var suggestions = await source.GetSuggestions(keyword);