Skip to content

Commit

Permalink
Fix target score selection abruptly discarded after opening results s…
Browse files Browse the repository at this point in the history
…creen
  • Loading branch information
frenzibyte committed Jul 25, 2024
1 parent 542cb12 commit 9d5fbb8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ protected override ScoreInfo[] PerformSuccessCallback(Action<IEnumerable<ScoreIn
{
var scoreInfos = base.PerformSuccessCallback(callback, scores, pivot);

Schedule(() => SelectedScore.Value = scoreInfos.SingleOrDefault(score => score.OnlineID == scoreId));
Schedule(() => SelectedScore.Value ??= scoreInfos.SingleOrDefault(score => score.OnlineID == scoreId));

return scoreInfos;
}
Expand Down

0 comments on commit 9d5fbb8

Please sign in to comment.