mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 04:37:30 +02:00
Remove redundant code
1. remove this 2. auto property should be only 1 line 3. misc 4. part of refactoring for PR #494
This commit is contained in:
@@ -19,7 +19,7 @@ namespace Wox
|
||||
{
|
||||
public void AddResults(List<Result> newResults, string resultId)
|
||||
{
|
||||
var vm = this.DataContext as ResultsViewModel;
|
||||
var vm = DataContext as ResultsViewModel;
|
||||
vm.AddResults(newResults, resultId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user