mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-11-02 10:51:57 +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:
@@ -1043,7 +1043,6 @@ public:
|
||||
the_mesh.savePrefs();
|
||||
}
|
||||
_pick_target = false;
|
||||
_task->showAlert("Share target set", 1200);
|
||||
_task->gotoLiveShareScreen();
|
||||
}
|
||||
|
||||
@@ -1086,7 +1085,6 @@ public:
|
||||
the_mesh.savePrefs();
|
||||
}
|
||||
_pick_bot_channel = false;
|
||||
_task->showAlert("Bot channel set", 1200);
|
||||
_task->gotoBotScreen();
|
||||
}
|
||||
|
||||
@@ -1112,7 +1110,6 @@ public:
|
||||
}
|
||||
_pick_bot_room = false;
|
||||
_room_mode = false;
|
||||
_task->showAlert("Bot room set", 1200);
|
||||
_task->gotoBotScreen();
|
||||
}
|
||||
|
||||
@@ -1130,7 +1127,6 @@ public:
|
||||
the_mesh.savePrefs();
|
||||
}
|
||||
_pick_target = false;
|
||||
_task->showAlert("Share target set", 1200);
|
||||
_task->gotoLiveShareScreen();
|
||||
}
|
||||
|
||||
@@ -1961,7 +1957,6 @@ public:
|
||||
} else if (sel != _ctx_fav_idx) {
|
||||
// Logout: only reachable when isRoomLoggedIn() added this item.
|
||||
_task->core().rooms.logout(_sel_contact.id.pub_key);
|
||||
_task->showAlert("Logged out", 1000);
|
||||
}
|
||||
// Fav is a value row -- Enter never selects it (see cycleRoomCtxValue).
|
||||
}
|
||||
@@ -2132,7 +2127,6 @@ public:
|
||||
// Delete/Cancel sub-menu, defaults to Cancel (see where it's opened).
|
||||
if (res == PopupMenu::SELECTED && _ctx_menu.selectedIndex() == 0) { // "Delete"
|
||||
chanctl::remove(_ctx_ch_idx);
|
||||
_task->showAlert("Channel deleted", 1000);
|
||||
}
|
||||
if (res != PopupMenu::NONE) {
|
||||
_ch_delete_confirm_active = false;
|
||||
|
||||
Reference in New Issue
Block a user