Skip to content

Commit

Permalink
Update Achievement Sort and Progress on RP
Browse files Browse the repository at this point in the history
Whenever a request to update the Rich Presence comes in, typically every ten seconds, the Achievement Progress Widget will update the sort order of the achievements and all of their measured values.
  • Loading branch information
LillyJadeKatrin committed Jun 20, 2024
1 parent 9b9e6c4 commit 90a6524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/DolphinQt/Achievements/AchievementsWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ void AchievementsWindow::UpdateData(AchievementManager::UpdatedItems updated_ite
{
m_header_widget->UpdateData();
}
if (updated_items.all_achievements)
if (updated_items.all_achievements || updated_items.rich_presence)
m_progress_widget->UpdateData(false);
else if (updated_items.achievements.size() > 0)
m_progress_widget->UpdateData(updated_items.achievements);
Expand Down

0 comments on commit 90a6524

Please sign in to comment.