|
@@ -1174,12 +1174,30 @@ static KMPDFEditAppendWindow *windowController = nil;
|
|
|
// });
|
|
|
// }
|
|
|
// }];
|
|
|
- [KMSubscribeWaterMarkWindowController showWithWindow:self.window isContinue:false limit:[self mergeCountIsReach] type:KMSubscribeWaterMarkTypeMerge subscribeDidClick:^{
|
|
|
+ BOOL isContinue = YES;
|
|
|
+ BOOL limit = [self mergeCountIsReach];
|
|
|
+ if (limit) {
|
|
|
+ isContinue = NO;
|
|
|
+ }
|
|
|
+
|
|
|
+ [KMSubscribeWaterMarkWindowController showWithWindow:self.window isContinue:isContinue limit:limit type:KMSubscribeWaterMarkTypeMerge subscribeDidClick:^{
|
|
|
|
|
|
- } completion:^(BOOL, BOOL, BOOL) {
|
|
|
- dispatch_async(dispatch_get_main_queue(), ^{
|
|
|
- [weakSelf buttonItemClick_Append: sender];
|
|
|
- });
|
|
|
+ } completion:^(BOOL isSub, BOOL isWater, BOOL isClose) {
|
|
|
+ if (isClose) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ if (isSub) {
|
|
|
+ dispatch_async(dispatch_get_main_queue(), ^{
|
|
|
+ [weakSelf buttonItemClick_Append: sender];
|
|
|
+ });
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ if (isWater && !limit) {
|
|
|
+ dispatch_async(dispatch_get_main_queue(), ^{
|
|
|
+ [weakSelf buttonItemClick_Append: sender];
|
|
|
+ });
|
|
|
+ return;
|
|
|
+ }
|
|
|
}];
|
|
|
return;
|
|
|
}
|