Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

refactor(desktop): expose cleanup_camera_window to the crate

Richie McIlroyee7d8a340926
diff --git a/apps/desktop/src-tauri/src/windows.rs b/apps/desktop/src-tauri/src/windows.rs
index a717898a5..3d33e4e19 100644
--- a/apps/desktop/src-tauri/src/windows.rs
+++ b/apps/desktop/src-tauri/src/windows.rs
@@ -250,7 +250,7 @@ async fn restore_main_window_inputs(app: &AppHandle) {
}
}
-async fn cleanup_camera_window(
+pub(crate) async fn cleanup_camera_window(
app: &AppHandle,
window: Option<&WebviewWindow>,
#[allow(unused_variables)] reset_panel: bool,