fix gray box & remove multiple line text support for NewButton (#2426)

This commit is contained in:
sommermorgentraum
2024-12-16 01:22:19 +08:00
committed by GitHub
parent ee10081854
commit 42da7443b4
3 changed files with 8 additions and 36 deletions

View File

@@ -765,7 +765,7 @@ static void add_apps(NavigationView& nav, BtnGridView& grid, app_location_t loc)
void add_external_items(NavigationView& nav, app_location_t location, BtnGridView& grid, uint8_t error_tile_pos) {
auto externalItems = ExternalItemsMenuLoader::load_external_items(location, nav);
if (externalItems.empty()) {
grid.insert_item({"ExtApp\nError",
grid.insert_item({"ExtAppErr",
Theme::getInstance()->error_dark->foreground,
nullptr,
[&nav]() {

View File

@@ -323,7 +323,7 @@ class InformationView : public View {
Rectangle backdrop{
{0, 0 * 16, 240, 16},
{33, 33, 33}};
Theme::getInstance()->bg_darker->background};
Text version{
{2, 0, 11 * 8, 16},