π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Fix deprecated Share API usage
laurenspriem4737ed3cf088
diff --git a/mobile/apps/photos/lib/ui/sharing/qr_code_dialog_widget.dart b/mobile/apps/photos/lib/ui/sharing/qr_code_dialog_widget.dartindex e2af9f92c1..89298fb21b 100644--- a/mobile/apps/photos/lib/ui/sharing/qr_code_dialog_widget.dart+++ b/mobile/apps/photos/lib/ui/sharing/qr_code_dialog_widget.dart@@ -45,10 +45,12 @@ class _QrCodeDialogWidgetState extends State<QrCodeDialogWidget> {);await file.writeAsBytes(pngBytes);- await Share.shareXFiles(- [XFile(file.path)],- text:- 'Scan this QR code to view my ${widget.collection.displayName} album on ente',+ await SharePlus.instance.share(+ ShareParams(+ files: [XFile(file.path)],+ text:+ 'Scan this QR code to view my ${widget.collection.displayName} album on ente',+ ),);// Close the dialog after sharing is initiated