[client] Don't try to upload urls and text

This commit is contained in:
Abhishek Shroff
2025-05-25 22:24:06 +05:30
parent eb94263017
commit 001e0da2aa

View File

@@ -85,6 +85,7 @@ class _ExplorerViewState extends State<ExplorerView> {
}
Future<void> handleShareIntent(List<SharedMediaFile> 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<PhylumAccount>();