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: scan button disabled:opacity-50 causing grey overlay

Louis Beaumont19ed5d226694
diff --git a/apps/screenpipe-app-tauri/components/settings/apple-intelligence-card.tsx b/apps/screenpipe-app-tauri/components/settings/apple-intelligence-card.tsx
index a1639b5db..5589fc51f 100644
--- a/apps/screenpipe-app-tauri/components/settings/apple-intelligence-card.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/apple-intelligence-card.tsx
@@ -361,9 +361,8 @@ export function AppleIntelligenceCard() {
<Button
variant="outline"
size="sm"
- onClick={triggerScan}
- disabled={isScanning}
- className="text-xs min-w-[110px] inline-flex items-center justify-center gap-1.5"
+ onClick={() => !isScanning && triggerScan()}
+ className="text-xs min-w-[110px] gap-1.5"
>
{isScanning ? (
<Loader2 className="h-3 w-3 shrink-0 animate-spin" />