Removed some blank lines (#2140)

This commit is contained in:
Mark Thompson 2024-05-07 08:41:58 -05:00 committed by GitHub
parent a3b71d0e3d
commit 3628576d60
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 8 deletions

View File

@ -5,11 +5,9 @@ namespace ui {
// TODO: Generate this automatically from github // TODO: Generate this automatically from github
// Information: a line starting with a '#' will be yellow coloured // Information: a line starting with a '#' will be yellow coloured
const std::string authors_list[] = { const std::string authors_list[] = {
" ",
"# * List of contributors * ", "# * List of contributors * ",
" ", " ",
"#Mayhem:", "#Mayhem:",
" ",
"eried,euquiq,gregoryfenton", "eried,euquiq,gregoryfenton",
"johnelder,jwetzell,nnemanjan00", "johnelder,jwetzell,nnemanjan00",
"N0vaPixel,klockee,gullradriel", "N0vaPixel,klockee,gullradriel",
@ -27,7 +25,6 @@ const std::string authors_list[] = {
"Netro,HTotoo", "Netro,HTotoo",
" ", " ",
"#Havoc:", "#Havoc:",
" ",
"furrtek,mrmookie,NotPike", "furrtek,mrmookie,NotPike",
"mjwaxios,ImDroided,Giorgiofox", "mjwaxios,ImDroided,Giorgiofox",
"F4GEV,z4ziggy,xmycroftx", "F4GEV,z4ziggy,xmycroftx",
@ -37,11 +34,9 @@ const std::string authors_list[] = {
"brianlechthaler,ZeroChaos-...", "brianlechthaler,ZeroChaos-...",
" ", " ",
"#PortaPack:", "#PortaPack:",
" ",
"jboone,argilo", "jboone,argilo",
" ", " ",
"#HackRF:", "#HackRF:",
" ",
"mossmann,dominicgs,bvernoux", "mossmann,dominicgs,bvernoux",
"bgamari,schneider42,miek", "bgamari,schneider42,miek",
"willcode,hessu,Sec42", "willcode,hessu,Sec42",
@ -86,8 +81,8 @@ AboutView::AboutView(NavigationView& nav) {
void AboutView::focus() { void AboutView::focus() {
menu_view.focus(); menu_view.focus();
// put focus on first text line // put focus on last text line to make it more obvious that list is scrollable
menu_view.set_highlighted(1); menu_view.set_highlighted(10);
} }
} /* namespace ui */ } /* namespace ui */

View File

@ -15,7 +15,7 @@ class AboutView : public View {
private: private:
MenuView menu_view{ MenuView menu_view{
{0, 0, 240, 240}, {0, 0, 240, 264},
true}; true};
Button button_ok{ Button button_ok{