Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: TS type error in batchMaxDurationSecs slider + bump to v2.2.213

Louis Beaumont886448f7bcdb
diff --git a/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx b/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx
index 1212b941c..f24585917 100644
--- a/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx
@@ -1589,7 +1589,7 @@ Your screen is a pipe. Everything you see, hear, and type flows through it. Scre
<Slider
value={[settings.batchMaxDurationSecs ?? 0]}
onValueChange={([value]) =>
- handleSettingsChange({ batchMaxDurationSecs: value }, true)
+ handleSettingsChange({ batchMaxDurationSecs: value ?? 0 }, true)
}
min={0}
max={1800}
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
index b61142999..27b45f285 100644
--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "2.2.212"
+version = "2.2.213"
description = "24/7 memory for your desktop. 100% local."
authors = ["you"]
license = ""