Updated bindings for launcher

This commit is contained in:
Divyansh
2020-03-30 16:27:26 -07:00
parent 6cc00a5a0f
commit 6dd13e4939
2 changed files with 4 additions and 12 deletions

View File

@@ -52,15 +52,6 @@ namespace PowerLauncher.UI
new SearchApp() { Title = "Yammer", Icon = "ms-appx:///Assets/Images/Yammer.png" }
};
}
private void SearchBox_TextChanged(AutoSuggestBox sender, AutoSuggestBoxTextChangedEventArgs args)
{
if (args.Reason == AutoSuggestionBoxTextChangeReason.UserInput)
{
var Suggestion = SearchResults.Where(p => p.Title.StartsWith(sender.Text, StringComparison.OrdinalIgnoreCase)).ToArray();
sender.ItemsSource = Suggestion;
}
}
}