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);
|
this->listElement->addItem(aboutItem);
|
||||||
|
|
||||||
tsl::elm::ListItem *updateItem = new tsl::elm::ListItem("Updates");
|
// OmniNX ams-pro: no Updates page. The builtin updater installs stock
|
||||||
updateItem->setClickListener([this](u64 keys) {
|
// HOC/Atmosphere files, which breaks ams-pro setups (yellow screen etc.).
|
||||||
if ((keys & HidNpadButton_A) == HidNpadButton_A && this->context) {
|
|
||||||
tsl::swapTo<UpdateGui>();
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
return false;
|
|
||||||
});
|
|
||||||
this->listElement->addItem(updateItem);
|
|
||||||
|
|
||||||
if (!lastItemName.empty()) {
|
if (!lastItemName.empty()) {
|
||||||
this->listElement->jumpToItem(lastItemName);
|
this->listElement->jumpToItem(lastItemName);
|
||||||
|
|||||||
Reference in new issue
Block a user