Skip to content

Commit

Permalink
Removed some blank lines (#2140)
Browse files Browse the repository at this point in the history
  • Loading branch information
NotherNgineer committed May 7, 2024
1 parent a3b71d0 commit 3628576
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions firmware/application/apps/ui_about_simple.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -27,7 +25,6 @@ const std::string authors_list[] = {
"Netro,HTotoo",
" ",
"#Havoc:",
" ",
"furrtek,mrmookie,NotPike",
"mjwaxios,ImDroided,Giorgiofox",
"F4GEV,z4ziggy,xmycroftx",
Expand All @@ -37,11 +34,9 @@ const std::string authors_list[] = {
"brianlechthaler,ZeroChaos-...",
" ",
"#PortaPack:",
" ",
"jboone,argilo",
" ",
"#HackRF:",
" ",
"mossmann,dominicgs,bvernoux",
"bgamari,schneider42,miek",
"willcode,hessu,Sec42",
Expand Down Expand Up @@ -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 */
2 changes: 1 addition & 1 deletion firmware/application/apps/ui_about_simple.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class AboutView : public View {

private:
MenuView menu_view{
{0, 0, 240, 240},
{0, 0, 240, 264},
true};

Button button_ok{
Expand Down

0 comments on commit 3628576

Please sign in to comment.