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

Method confirm_selection

src/apps/cli/src/ui/theme_selector.rs:99–101  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

97 }
98
99 pub fn confirm_selection(&self) -> Option<ThemeItem> {
100 self.selected_item().cloned()
101 }
102
103 pub fn render(&mut self, frame: &mut Frame, area: Rect, theme: &Theme) {
104 if !self.visible || self.items.is_empty() {

Callers

nothing calls this directly

Calls 1

selected_itemMethod · 0.45

Tested by

no test coverage detected