From 1b93f7581e7af7f3425a433607a7cfec193f0439 Mon Sep 17 00:00:00 2001 From: flb Date: Mon, 31 Oct 2022 20:13:22 +0100 Subject: [PATCH] fix wrong text being shown in confirm window --- source/ams_tab.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source/ams_tab.cpp b/source/ams_tab.cpp index 756c121..558baee 100644 --- a/source/ams_tab.cpp +++ b/source/ams_tab.cpp @@ -35,7 +35,7 @@ bool AmsTab::CreateDownloadItems(const nlohmann::ordered_json& cfw_links, bool h for (const auto& link : links) { std::string url = link.second; - std::string text("menus/common/download"_i18n + link.second + "menus/common/from"_i18n + url); + std::string text("menus/common/download"_i18n + link.first + "menus/common/from"_i18n + url); listItem = new brls::ListItem(link.first); listItem->setHeight(LISTITEM_HEIGHT); listItem->getClickEvent()->subscribe([this, text, text_hekate, url, hekate_url, hekate, ams](brls::View* view) { @@ -274,8 +274,6 @@ void AmsTab_Custom::RegisterListItemAction(brls::ListItem* listItem) std::string label = listItem->getLabel(); std::string category = this->type == contentType::ams_cfw ? "ams" : "misc"; listItem->registerAction("menus/ams_update/delete_custom_link"_i18n, brls::Key::X, [this, label, category] { - brls::Logger::info(label); - brls::Logger::info(category); auto& links = this->custom_packs.at(category); links.erase(label); fs::writeJsonToFile(this->custom_packs, CUSTOM_PACKS_PATH);