build: Update dependencies
This commit is contained in:
parent
ea11a608cb
commit
a14b69623d
3 changed files with 185 additions and 168 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue