mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-11-02 19:02:00 +00:00
feat(ui): drop echo toasts for actions the screen already shows
L1: Counters reset, Trail reset, Contact added/deleted, Logged in (admin), Logged out, Channel deleted, Share target / Bot channel / Bot room set, PIN set/cleared, Preset saved/deleted, and Unpinned on the favourites grid. L2: Channel deleted, Counters reset, Region/Preset/Scope/Waypoint deleted, Target cleared, Trail cleared, Message history deleted, Contact added/deleted. Failures and Unpinned where the item leaves the screen stay. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -540,7 +540,6 @@ void UITask::navPick(int code) {
|
||||
if (navmap::s_tb.active()) { navmap::s_tb.stop(); showToast("Track back stopped"); break; }
|
||||
_core->locator.clearTarget();
|
||||
prefsSave();
|
||||
showToast("Target cleared");
|
||||
break;
|
||||
case navmap::T_WAYPOINT: {
|
||||
if (idx >= _core->waypoints.count()) return;
|
||||
@@ -734,7 +733,6 @@ void UITask::navWaypointAction(uint8_t act) {
|
||||
if (!tapConfirmed(_nav_del_lbl, "Delete?")) break;
|
||||
_core->waypoints.remove(i);
|
||||
navClosePopup();
|
||||
showToast("Waypoint deleted");
|
||||
rebuildMapMarkers();
|
||||
layoutMap();
|
||||
refreshNavBar();
|
||||
@@ -1332,7 +1330,6 @@ void UITask::navToolAction(uint8_t act) {
|
||||
case navmap::TL_TRAIL_RESET:
|
||||
if (!tapConfirmed(_nav_reset_lbl, "Reset?")) return;
|
||||
tr.reset();
|
||||
showToast("Trail cleared");
|
||||
rebuildMapMarkers();
|
||||
layoutMap();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user