Skip to content

Commit

Permalink
refactor: ♻️ remove useless action handler
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesNZL committed Jul 7, 2023
1 parent e45e46e commit f19cba5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/TogglTrack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1117,12 +1117,6 @@ private async ValueTask<List<Result>> _GetStartResults(CancellationToken token,
IcoPath = "tip.png",
AutoCompleteText = $"{query.ActionKeyword} {query.Search}",
Score = int.MaxValue - 100000,
// TODO: useless
Action = _ =>
{
this._context.API.ChangeQuery($"{query.ActionKeyword} {query.Search}");
return false;
}
});
}
}
Expand Down

0 comments on commit f19cba5

Please sign in to comment.