pub fn set_webcam_bubble_visibility(
visible: bool,
app: AppHandle,
state: State<'_, BubbleState>,
)Expand description
Explicit setter for the webcam bubble visibility. ISS-05 — the
recorder’s camera_enabled RwSignal defaults to true while
BubbleVisibility::default() is Hidden, so the always-flip
toggle_webcam_bubble path was one click out of phase from
every page mount. The setter aligns the bubble to the caller’s
source of truth instead, and no-ops when already in the requested
state — safe to spam from a reactive subscription.