From 001e0da2aadb6a38ead074be2fe3d8729b1176ca Mon Sep 17 00:00:00 2001 From: Abhishek Shroff Date: Sun, 25 May 2025 22:24:06 +0530 Subject: [PATCH] [client] Don't try to upload urls and text --- client/lib/ui/explorer/explorer_view.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/client/lib/ui/explorer/explorer_view.dart b/client/lib/ui/explorer/explorer_view.dart index 0a2353a0..f58f4fe6 100644 --- a/client/lib/ui/explorer/explorer_view.dart +++ b/client/lib/ui/explorer/explorer_view.dart @@ -85,6 +85,7 @@ class _ExplorerViewState extends State { } Future handleShareIntent(List files) async { + files.removeWhere((f) => f.type == SharedMediaType.text || f.type == SharedMediaType.url); if (files.isEmpty) return; final paths = files.map((f) => f.path).toList(growable: false); final account = context.read();