From 3628576d601cd767111780f3568a9849f6b7e438 Mon Sep 17 00:00:00 2001 From: Mark Thompson <129641948+NotherNgineer@users.noreply.github.com> Date: Tue, 7 May 2024 08:41:58 -0500 Subject: [PATCH] Removed some blank lines (#2140) --- firmware/application/apps/ui_about_simple.cpp | 9 ++------- firmware/application/apps/ui_about_simple.hpp | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/firmware/application/apps/ui_about_simple.cpp b/firmware/application/apps/ui_about_simple.cpp index 008a8620..6e127c99 100644 --- a/firmware/application/apps/ui_about_simple.cpp +++ b/firmware/application/apps/ui_about_simple.cpp @@ -5,11 +5,9 @@ namespace ui { // TODO: Generate this automatically from github // Information: a line starting with a '#' will be yellow coloured const std::string authors_list[] = { - " ", "# * List of contributors * ", " ", "#Mayhem:", - " ", "eried,euquiq,gregoryfenton", "johnelder,jwetzell,nnemanjan00", "N0vaPixel,klockee,gullradriel", @@ -27,7 +25,6 @@ const std::string authors_list[] = { "Netro,HTotoo", " ", "#Havoc:", - " ", "furrtek,mrmookie,NotPike", "mjwaxios,ImDroided,Giorgiofox", "F4GEV,z4ziggy,xmycroftx", @@ -37,11 +34,9 @@ const std::string authors_list[] = { "brianlechthaler,ZeroChaos-...", " ", "#PortaPack:", - " ", "jboone,argilo", " ", "#HackRF:", - " ", "mossmann,dominicgs,bvernoux", "bgamari,schneider42,miek", "willcode,hessu,Sec42", @@ -86,8 +81,8 @@ AboutView::AboutView(NavigationView& nav) { void AboutView::focus() { menu_view.focus(); - // put focus on first text line - menu_view.set_highlighted(1); + // put focus on last text line to make it more obvious that list is scrollable + menu_view.set_highlighted(10); } } /* namespace ui */ diff --git a/firmware/application/apps/ui_about_simple.hpp b/firmware/application/apps/ui_about_simple.hpp index c3fa9d26..f5e8488f 100644 --- a/firmware/application/apps/ui_about_simple.hpp +++ b/firmware/application/apps/ui_about_simple.hpp @@ -15,7 +15,7 @@ class AboutView : public View { private: MenuView menu_view{ - {0, 0, 240, 240}, + {0, 0, 240, 264}, true}; Button button_ok{