mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-10-16 10:32:08 +00:00
feat(ui-lvgl): favourites as a Home card, left of the main page
The six slots with unread badges on a card of their own (swiped to, no clock), redrawn when messages arrive; the Favourites tile and screen are gone, showFavourites() opens the card. The page dots sit at the bottom on every card. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -138,7 +138,7 @@ void UITask::roomPoll() {
|
||||
if (o == RoomSessions::NONE) return;
|
||||
bool mine = s_login_wait && memcmp(key, s_login_key, 4) == 0;
|
||||
if (mine) s_login_wait = false;
|
||||
bool picking = (_screen == SCR_CHATS || _screen == SCR_FAVS) && !_nav_overlay && !locked(); // where it was tapped
|
||||
bool picking = (_screen == SCR_CHATS || _screen == SCR_HOME) && !_nav_overlay && !locked(); // where it was tapped
|
||||
if (o == RoomSessions::LOGGED_IN) {
|
||||
showToast("Logged in", 1200);
|
||||
if (mine && picking) openDM(s_login_key);
|
||||
|
||||
Reference in New Issue
Block a user