π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Inline
Manav Rathi0670d02bb8a1
diff --git a/web/apps/photos/src/services/upload-manager.ts b/web/apps/photos/src/services/upload-manager.tsindex 6cce6aaf43..feacca53cf 100644--- a/web/apps/photos/src/services/upload-manager.ts+++ b/web/apps/photos/src/services/upload-manager.ts@@ -103,23 +103,19 @@ export type UploadItemWithCollection = UploadAsset & {collectionID: number;};-interface UploadCancelStatus {- value: boolean;-}-class UploadCancelService {- private shouldUploadBeCancelled: UploadCancelStatus = { value: false };+ private shouldUploadBeCancelled = false;reset() {- this.shouldUploadBeCancelled.value = false;+ this.shouldUploadBeCancelled = false;}requestUploadCancelation() {- this.shouldUploadBeCancelled.value = true;+ this.shouldUploadBeCancelled = true;}isUploadCancelationRequested(): boolean {- return this.shouldUploadBeCancelled.value;+ return this.shouldUploadBeCancelled;}}