From 0c2beb7ce8c4b417abac0eb5e6d13dd577b15064 Mon Sep 17 00:00:00 2001 From: Anish Sarkar <104695310+AnishSarkar22@users.noreply.github.com> Date: Tue, 12 May 2026 21:26:33 +0530 Subject: [PATCH] fix(thread): conditionally render screen capture button for desktop users --- .../components/assistant-ui/thread.tsx | 24 ++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/surfsense_web/components/assistant-ui/thread.tsx b/surfsense_web/components/assistant-ui/thread.tsx index ec7d19eff..4f4395611 100644 --- a/surfsense_web/components/assistant-ui/thread.tsx +++ b/surfsense_web/components/assistant-ui/thread.tsx @@ -1212,17 +1212,19 @@ const ComposerAction: FC = ({ isBlockedByOtherUser = false )}
- void handleScreenCapture()} - > - - + {isDesktop && ( + void handleScreenCapture()} + > + + + )} !thread.isRunning}>