π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mobile][photos] restore trash thumbnail cleanup
Priyanshu Dangare4c3a76d2c1d0
diff --git a/mobile/apps/photos/lib/ui/viewer/file/thumbnail_widget.dart b/mobile/apps/photos/lib/ui/viewer/file/thumbnail_widget.dartindex 8e2857a511..785b30048e 100644--- a/mobile/apps/photos/lib/ui/viewer/file/thumbnail_widget.dart+++ b/mobile/apps/photos/lib/ui/viewer/file/thumbnail_widget.dart@@ -332,13 +332,10 @@ class _ThumbnailWidgetState extends State<ThumbnailWidget> {if (thumbData == null) {if (widget.file.isUploaded) {_logger.info("Removing localID reference for " + widget.file.tag);+ widget.file.localID = null;if (widget.file.isTrashFile) {- if (!widget.file.isSystemOnlyTrashFile) {- widget.file.localID = null;- unawaited(TrashDB.instance.update(widget.file.asTrashFile!));- }+ unawaited(TrashDB.instance.update(widget.file.asTrashFile!));} else {- widget.file.localID = null;unawaited(FilesDB.instance.update(widget.file));}_loadNetworkImage();