Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

fix(ios-simulator): respect reduced motion

JiangJiahao140538f4246b
diff --git a/apps/desktop/src/renderer/features/right-sidebar/plugins/ios-simulator/IOSSimulatorTabBody.tsx b/apps/desktop/src/renderer/features/right-sidebar/plugins/ios-simulator/IOSSimulatorTabBody.tsx
index ef607e1baf..b5bfb40f7c 100644
--- a/apps/desktop/src/renderer/features/right-sidebar/plugins/ios-simulator/IOSSimulatorTabBody.tsx
+++ b/apps/desktop/src/renderer/features/right-sidebar/plugins/ios-simulator/IOSSimulatorTabBody.tsx
@@ -1641,7 +1641,10 @@ export function IOSSimulatorTabBody({
aria-live="polite"
className="flex items-center gap-2 rounded-xl border border-[var(--border-default)] bg-[var(--surface-elevated)] p-3 text-12 text-[var(--text-secondary)]"
>
- <span className="inline-flex animate-spin" aria-hidden="true">
+ <span
+ className="inline-flex animate-spin motion-reduce:animate-none"
+ aria-hidden="true"
+ >
<Loader2 size={14} />
</span>
<span>{t(`rightSidebar.iosSimulator.operations.${operation}`)}</span>