Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

import duration

Brendan Allan556cfd8401b0
diff --git a/apps/desktop/src-tauri/src/recording.rs b/apps/desktop/src-tauri/src/recording.rs
index 1a05fdb8b..3d006115a 100644
--- a/apps/desktop/src-tauri/src/recording.rs
+++ b/apps/desktop/src-tauri/src/recording.rs
@@ -1,8 +1,8 @@
use nokhwa::utils::CameraFormat;
use serde::Serialize;
use specta::Type;
-use std::path::PathBuf;
use std::time::Instant;
+use std::{path::PathBuf, time::Duration};
use tokio::sync::watch;
use crate::{