Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][photos] Fix dialog that is supposed to be shown when turning off downloads coming up only when turning on downloads in manage link screen

ashilkn6544f0b83946
diff --git a/mobile/lib/ui/sharing/manage_links_widget.dart b/mobile/lib/ui/sharing/manage_links_widget.dart
index 6c50e80008..5b389fab82 100644
--- a/mobile/lib/ui/sharing/manage_links_widget.dart
+++ b/mobile/lib/ui/sharing/manage_links_widget.dart
@@ -175,7 +175,7 @@ class _ManageSharedLinkWidgetState extends State<ManageSharedLinkWidget> {
context,
{'enableDownload': !isDownloadEnabled},
);
- if (!isDownloadEnabled) {
+ if (isDownloadEnabled) {
// ignore: unawaited_futures
showErrorDialog(
context,