π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix breaking change
ashilkna67da8102d10
diff --git a/mobile/lib/ui/tabs/home_widget.dart b/mobile/lib/ui/tabs/home_widget.dartindex 561b1f4ba1..802b40be89 100644--- a/mobile/lib/ui/tabs/home_widget.dart+++ b/mobile/lib/ui/tabs/home_widget.dart@@ -284,7 +284,7 @@ class _HomeWidgetState extends State<HomeWidget> {void _initMediaShareSubscription() {// For sharing images coming from outside the app while the app is in the memory_intentDataStreamSubscription =- ReceiveSharingIntent.getMediaStream().listen(+ ReceiveSharingIntent.instance.getMediaStream().listen((List<SharedMediaFile> value) {setState(() {_shouldRenderCreateCollectionSheet = true;@@ -296,7 +296,9 @@ class _HomeWidgetState extends State<HomeWidget> {},);// For sharing images coming from outside the app while the app is closed- ReceiveSharingIntent.getInitialMedia().then((List<SharedMediaFile> value) {+ ReceiveSharingIntent.instance+ .getInitialMedia()+ .then((List<SharedMediaFile> value) {if (mounted) {setState(() {_sharedFiles = value;@@ -380,7 +382,7 @@ class _HomeWidgetState extends State<HomeWidget> {//So to stop showing multiple CreateCollectionSheets, this flag//needs to be set to false the first time it is rendered._shouldRenderCreateCollectionSheet = false;- ReceiveSharingIntent.reset();+ ReceiveSharingIntent.instance.reset();Future.delayed(const Duration(milliseconds: 10), () {showCollectionActionSheet(context,diff --git a/mobile/pubspec.yaml b/mobile/pubspec.yamlindex 33da8f0a55..56cb9331e2 100644--- a/mobile/pubspec.yaml+++ b/mobile/pubspec.yaml@@ -137,7 +137,7 @@ dependencies:pointycastle: ^3.7.3provider: ^6.0.0quiver: ^3.0.1- receive_sharing_intent: ^1.6.7+ receive_sharing_intent: ^1.7.0scrollable_positioned_list: ^0.3.5sentry: ^7.9.0sentry_flutter: ^7.9.0