[mob][photos] Stop showing redundant toast

This commit is contained in:
ashilkn
2024-06-03 17:49:37 +05:30
parent 7204d3471f
commit 5367e90ecf

View File

@@ -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 {