-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactoring structure of the launcher app menu #158
Conversation
Ability use B as back button in the menu. Every menu item has a submenu or callback func. Also added update method to the menu to update the menu items (postfix in WiFi item: ON/OFF).
This reverts commit 7c0800a.
Упс. Випадково залив кривий statusbar.cpp. |
firmware/keira/src/apps/launcher.cpp
Outdated
AppManager::getInstance()->runApp(list[index].construct()); | ||
menu_icon_t* icon = list[i].icon; | ||
if (icon == NULL) { | ||
icon = list[i].submenu.empty() ? &app_img : &app_group_img; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
вот, через це в налаштуваннях і таблиці розділів тепер є іконки яких не було :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Лол) Було відчуття що щось не так) Але не зрозумів, що саме.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Виправлено
а загалом норм |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Tested on hardware
#155
Ability use B as back button in the menu.
Every menu item has a submenu or callback func.
Also added update method to the menu to update the menu items (postfix in WiFi item: ON/OFF).