Fix bug that created by PR "Added menu group for transceivers" (#2630)

This commit is contained in:
sommermorgentraum 2025-04-17 13:42:05 +08:00 committed by GitHub
parent 6b6a00d511
commit 9aff3f4121
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -854,7 +854,9 @@ void TranceiversMenuView::on_populate() {
add_items({{"..", Theme::getInstance()->fg_light->foreground, &bitmap_icon_previous, [this]() { nav_.pop(); }}});
}
add_apps(nav_, *this, TRX);
add_external_items(nav_, app_location_t::TRX, *this, return_icon ? 1 : 0);
// add_external_items(nav_, app_location_t::TRX, *this, return_icon ? 1 : 0);
// this folder doesn't have external apps, comment to prevent pop the err msg.
// NB: when has external app someday, uncomment this.
}
/* UtilitiesMenuView *****************************************************/