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

Function load_ai_experience

src/apps/desktop/src/tray.rs:70–77  ·  view source on GitHub ↗
(app: &AppHandle)

Source from the content-addressed store, hash-verified

68}
69
70async fn load_ai_experience(app: &AppHandle) -> Option<AIExperienceConfig> {
71 let app_state = app.try_state::<AppState>()?;
72 app_state
73 .config_service
74 .get_config(Some("app.ai_experience"))
75 .await
76 .ok()
77}
78
79pub async fn rebuild_tray_menu_public(app: &AppHandle) {
80 rebuild_tray_menu(app).await;

Callers 1

rebuild_tray_menuFunction · 0.85

Calls 2

okMethod · 0.45
get_configMethod · 0.45

Tested by

no test coverage detected