π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Notifiy/ask use before opening public link in browser after clicking on the upload files option of an in-app public link
ashilkn6669e66bb9fc
diff --git a/mobile/lib/ui/viewer/gallery/gallery_app_bar_widget.dart b/mobile/lib/ui/viewer/gallery/gallery_app_bar_widget.dartindex 86a9411f5b..b7814dd7f8 100644--- a/mobile/lib/ui/viewer/gallery/gallery_app_bar_widget.dart+++ b/mobile/lib/ui/viewer/gallery/gallery_app_bar_widget.dart@@ -852,14 +852,24 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {final albumKey =await CollectionsService.instance.getPublicAlbumKey(authToken!);- await Navigator.of(context).push(- MaterialPageRoute(- builder: (context) => WebPage(- widget.title ?? "",- "https://albums.ente.sh/?t=$authToken#$albumKey",- ),- ),+ final res = await showChoiceDialog(+ context,+ title: 'Please use the web app to add photos to this album',+ firstButtonLabel: "Open album in browser",+ secondButtonLabel: "Cancel",+ firstButtonType: ButtonType.primary,);++ if (res != null && res.action == ButtonAction.first) {+ await Navigator.of(context).push(+ MaterialPageRoute(+ builder: (context) => WebPage(+ widget.title ?? "",+ "https://albums.ente.sh/?t=$authToken#$albumKey",+ ),+ ),+ );+ }} else {await showAddPhotosSheet(bContext, collection!);}