Skip to content

Commit 282ba57

Browse files
committed
Update tauri.ts
1 parent c7e5113 commit 282ba57

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

apps/desktop/src/utils/tauri.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,9 @@ async ignoreCameraWindowPosition(durationMs: number) : Promise<null> {
289289
async awaitCameraPreviewReady() : Promise<boolean> {
290290
return await TAURI_INVOKE("await_camera_preview_ready");
291291
},
292+
async refreshCameraFeed() : Promise<null> {
293+
return await TAURI_INVOKE("refresh_camera_feed");
294+
},
292295
async createDir(path: string, recursive: boolean) : Promise<null> {
293296
return await TAURI_INVOKE("create_dir", { path, recursive });
294297
},

0 commit comments

Comments
 (0)