build: Update dependencies

This commit is contained in:
Krille 2024-04-26 09:14:50 +02:00
commit a14b69623d
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
3 changed files with 185 additions and 168 deletions

View file

@ -15,10 +15,11 @@ abstract class FluffyShare {
}) async {
if (PlatformInfos.isMobile && !copyOnly) {
final box = context.findRenderObject() as RenderBox;
return Share.share(
await Share.share(
text,
sharePositionOrigin: box.localToGlobal(Offset.zero) & box.size,
);
return;
}
await Clipboard.setData(
ClipboardData(text: text),