include name when prompting the user to select which asset to download

This commit is contained in:
ITotalJustice
2024-12-26 18:29:03 +00:00
parent 47855ce7b4
commit e3722f2591

View File

@@ -305,7 +305,7 @@ Menu::Menu() : MenuBase{"GitHub"_i18n} {
asset_items.emplace_back(p.name); asset_items.emplace_back(p.name);
} }
App::Push(std::make_shared<PopupList>("Select asset to download"_i18n, asset_items, [this](auto op_index){ App::Push(std::make_shared<PopupList>("Select asset to download for "_i18n + GetEntry().name, asset_items, [this](auto op_index){
if (!op_index) { if (!op_index) {
return; return;
} }
@@ -328,7 +328,7 @@ Menu::Menu() : MenuBase{"GitHub"_i18n} {
asset_items.emplace_back(p.name); asset_items.emplace_back(p.name);
} }
App::Push(std::make_shared<PopupList>("Select asset to download"_i18n, asset_items, [this](auto op_index){ App::Push(std::make_shared<PopupList>("Select asset to download for "_i18n + GetEntry().name, asset_items, [this](auto op_index){
if (!op_index) { if (!op_index) {
return; return;
} }