MCPcopy Create free account
hub / github.com/GCWing/BitFun / remove

Method remove

src/apps/cli/src/ui/chat/state.rs:90–92  ·  view source on GitHub ↗
(&mut self, popup: &PopupType)

Source from the content-addressed store, hash-verified

88 /// Remove a specific popup type from the stack (for when popup is closed directly)
89 #[allow(dead_code)]
90 pub fn remove(&mut self, popup: &PopupType) {
91 self.stack.retain(|p| p != popup);
92 }
93
94 /// Get the previous popup (for navigation back)
95 #[allow(dead_code)]

Callers 15

miniapp_agent_cancelFunction · 0.45
unregister_searchFunction · 0.45
cancel_searchFunction · 0.45
delete_subagentFunction · 0.45
miniapp_ai_chatFunction · 0.45
miniapp_ai_cancelFunction · 0.45
delete_custom_agentFunction · 0.45
btw_cancelFunction · 0.45
btw_ask_streamFunction · 0.45
editor_ai_streamFunction · 0.45
locate_ui_element_centerFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected