[Bug] Achievements/Vouchers doesn't update if Cursor doesn't move (#3747)

Co-authored-by: frutescens <info@laptop>
This commit is contained in:
Mumble 2024-08-25 07:14:47 -07:00 committed by GitHub
parent 03de6cfe36
commit 1ab472cbdf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -211,12 +211,11 @@ export default class AchvsUiHandler extends MessageUiHandler {
if (this.currentPage === Page.ACHIEVEMENTS) {
this.currentPage = Page.VOUCHERS;
this.updateVoucherIcons();
this.setCursor(0);
} else if (this.currentPage === Page.VOUCHERS) {
this.currentPage = Page.ACHIEVEMENTS;
this.updateAchvIcons();
this.setCursor(0);
}
this.setCursor(0, true);
this.mainContainer.update();
}
if (button === Button.CANCEL) {