Skip to content

Commit

Permalink
The last 5 automatic backup images may cause an endless increase in t…
Browse files Browse the repository at this point in the history
…he number of uploads.
  • Loading branch information
henry9610 committed Sep 23, 2024
1 parent 91625a3 commit 25a52cc
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
13 changes: 8 additions & 5 deletions Pod/Classes/SeafPhotoBackupTool.m
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,10 @@ - (void)pickPhotosForUpload {
}
}

if (self.photosArray.count == 0) {
Debug("Force check if there are new photos after all synced.");
[self checkPhotos:true];
}
// if (self.photosArray.count == 0) {
// Debug("Force check if there are new photos after all synced.");
// [self checkPhotos:true];
// }
});
}

Expand Down Expand Up @@ -218,7 +218,10 @@ - (void)filterOutNeedUploadPhotos {
_inCheckPhotos = true;
}

[self resetUploadingArray];
// [self resetUploadingArray];
@synchronized(self) {
self.photosArray = [[NSMutableArray alloc] init];
}

PHFetchOptions *fetchOptions = [[PHFetchOptions alloc] init];
fetchOptions.predicate = predicate;
Expand Down
2 changes: 1 addition & 1 deletion Pod/Classes/Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
#ifndef version_h
#define version_h

#define SEAFILE_VERSION @"2.9.28"
#define SEAFILE_VERSION @"2.9.29"

#endif /* version_h */
2 changes: 1 addition & 1 deletion Seafile.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Seafile"
s.version = "2.9.28"
s.version = "2.9.29"
s.summary = "iOS client for seafile."
s.homepage = "https://github.com/haiwen/seafile-iOS"
s.license = 'MIT'
Expand Down
4 changes: 2 additions & 2 deletions seafilePro.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -2631,7 +2631,7 @@
INFOPLIST_FILE = "seafile/Supporting Files/seafile-appstore-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LIBRARY_SEARCH_PATHS = "$(inherited)";
MARKETING_VERSION = 2.9.28;
MARKETING_VERSION = 2.9.29;
PRODUCT_BUNDLE_IDENTIFIER = com.seafile.seafilePro;
PRODUCT_NAME = SeafilePro;
PROVISIONING_PROFILE = "";
Expand Down Expand Up @@ -2666,7 +2666,7 @@
INFOPLIST_FILE = "seafile/Supporting Files/seafile-appstore-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LIBRARY_SEARCH_PATHS = "$(inherited)";
MARKETING_VERSION = 2.9.28;
MARKETING_VERSION = 2.9.29;
PRODUCT_BUNDLE_IDENTIFIER = com.seafile.seafilePro;
PRODUCT_NAME = SeafilePro;
PROVISIONING_PROFILE = "";
Expand Down

0 comments on commit 25a52cc

Please sign in to comment.