π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Refactor
laurenspriem9a6579c55c3a
diff --git a/mobile/lib/ui/tabs/home_widget.dart b/mobile/lib/ui/tabs/home_widget.dartindex 54af96ee14..1e74fb26d5 100644--- a/mobile/lib/ui/tabs/home_widget.dart+++ b/mobile/lib/ui/tabs/home_widget.dart@@ -441,14 +441,16 @@ class _HomeWidgetState extends State<HomeWidget> {_intentDataStreamSubscription =ReceiveSharingIntent.instance.getMediaStream().listen((List<SharedMediaFile> value) {- if (value.isNotEmpty && value[0].path.contains("albums.ente.io")) {+ if (value.isEmpty) {+ return;+ }+ if (value[0].path.contains("albums.ente.io")) {final uri = Uri.parse(value[0].path);_handlePublicAlbumLink(uri);return;}- if (value.isNotEmpty &&- value[0].mimeType != null &&+ if (value[0].mimeType != null &&(value[0].mimeType!.contains("image") ||value[0].mimeType!.contains("video"))) {showDialog(