π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Remove task cancellation logging
ashilknc76f85882263
diff --git a/mobile/apps/photos/lib/ui/viewer/file/thumbnail_widget.dart b/mobile/apps/photos/lib/ui/viewer/file/thumbnail_widget.dartindex feddfc36f9..39f861db93 100644--- a/mobile/apps/photos/lib/ui/viewer/file/thumbnail_widget.dart+++ b/mobile/apps/photos/lib/ui/viewer/file/thumbnail_widget.dart@@ -99,20 +99,13 @@ class _ThumbnailWidgetState extends State<ThumbnailWidget> {if (!mounted && _localThumbnailQueueTaskId != null) {if (widget.thumbnailSize == thumbnailLargeSize) {largeLocalThumbnailQueue.removeTask(_localThumbnailQueueTaskId!);- _logger.info(- "Cancelled large thumbnail task: $_localThumbnailQueueTaskId",- );} else if (widget.thumbnailSize == thumbnailSmallSize) {smallLocalThumbnailQueue.removeTask(_localThumbnailQueueTaskId!);- _logger.info(- "Cancelled small thumbnail task: $_localThumbnailQueueTaskId",- );}}// Cancel request only if the widget has been unmountedif (!mounted && widget.file.isRemoteFile && !_hasLoadedThumbnail) {removePendingGetThumbnailRequestIfAny(widget.file);- _logger.info("Cancelled thumbnail request for " + widget.file.tag);}});}