This commit is contained in:
1 parent
9bc6756265
commit
16cb8c1bbf
1 file changed
+2
-10
@@ -114,16 +114,8 @@ void MainGui::listUI() {
|
||||
});
|
||||
this->listElement->addItem(aboutItem);
|
||||
|
||||
tsl::elm::ListItem *updateItem = new tsl::elm::ListItem("Updates");
|
||||
updateItem->setClickListener([this](u64 keys) {
|
||||
if ((keys & HidNpadButton_A) == HidNpadButton_A && this->context) {
|
||||
tsl::swapTo<UpdateGui>();
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
});
|
||||
this->listElement->addItem(updateItem);
|
||||
// OmniNX ams-pro: no Updates page. The builtin updater installs stock
|
||||
// HOC/Atmosphere files, which breaks ams-pro setups (yellow screen etc.).
|
||||
|
||||
if (!lastItemName.empty()) {
|
||||
this->listElement->jumpToItem(lastItemName);
|
||||
|
||||
Reference in new issue
Block a user