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

Method cancel_theme_preview

src/apps/cli/src/ui/chat/scroll.rs:35–40  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

33 }
34
35 pub fn cancel_theme_preview(&mut self) {
36 if let Some(original) = self.theme_preview_original.take() {
37 self.set_theme(original);
38 }
39 self.pending_theme_preview = None;
40 }
41
42 pub fn commit_theme_preview(&mut self) {
43 self.theme_preview_original = None;

Callers 2

close_all_popupsMethod · 0.45
navigate_backMethod · 0.45

Calls 2

takeMethod · 0.80
set_themeMethod · 0.80

Tested by

no test coverage detected