Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][photos] Stop showing redundant toast

ashilkn5367e90ecf79
diff --git a/mobile/lib/ui/viewer/actions/file_selection_actions_widget.dart b/mobile/lib/ui/viewer/actions/file_selection_actions_widget.dart
index 24eeb04647..afc7711350 100644
--- a/mobile/lib/ui/viewer/actions/file_selection_actions_widget.dart
+++ b/mobile/lib/ui/viewer/actions/file_selection_actions_widget.dart
@@ -766,9 +766,8 @@ class _FileSelectionActionsWidgetState
);
final String url =
"${_cachedCollectionForSharedLink!.publicURLs?.first?.url}#$collectionKey";
+ unawaited(Clipboard.setData(ClipboardData(text: url)));
await shareImageAndUrl(placeholderPath!, url);
- await Clipboard.setData(ClipboardData(text: url));
- showShortToast(context, S.of(context).linkCopiedToClipboard);
if (placeholderPath != null) {
final file = File(placeholderPath!);
try {