mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-11-02 19:02:00 +00:00
fix(ui-new): a tool opened from Home's Tools page goes back to Home
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -62,6 +62,7 @@ class UITask : public UITaskBase, public UiCoreHost {
|
||||
unsigned long _next_refresh, _auto_off;
|
||||
NodePrefs* _node_prefs;
|
||||
bool _locked;
|
||||
bool _tool_from_home = false;
|
||||
unsigned long _lock_wake_until; // when to blank screen again after locked wake (5s)
|
||||
int _lock_seq_count; // Enter presses while Back held (lock/unlock sequence)
|
||||
unsigned long _lock_seq_ms; // millis() of last lock-sequence press (for timeout)
|
||||
@@ -282,6 +283,9 @@ public:
|
||||
void pickBotChannelTarget(); // open Messages to choose the auto-reply bot's channel
|
||||
void pickBotRoomTarget(); // open Messages to choose the auto-reply bot's room
|
||||
void gotoToolsScreen();
|
||||
// A tool's Back: to Home when Home's Tools page opened it, else to the Tools list.
|
||||
void leaveTool();
|
||||
void setToolFromHome(bool home) { _tool_from_home = home; }
|
||||
void gotoRingtoneEditor(int slot = 0);
|
||||
void gotoBotScreen();
|
||||
void pickAdminTarget(); // Admin is remote-only: open Nodes to pick a repeater/room
|
||||
|
||||
Reference in New Issue
Block a user