Skip to content

Commit

Permalink
Fix user result set max value issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack251970 committed Dec 23, 2024
1 parent eef2f3d commit b5e401f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Flow.Launcher/ViewModel/MainViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1473,7 +1473,7 @@ public void UpdateResultView(ICollection<ResultsForUpdate> resultsForUpdates)
{
result.Score = int.MaxValue;
}
else
else if (result.Score != int.MaxValue)
{
var priorityScore = metaResults.Metadata.Priority * 150;
result.Score += _userSelectedRecord.GetSelectedCount(result) + priorityScore;
Expand Down

0 comments on commit b5e401f

Please sign in to comment.