|
@@ -1113,14 +1113,30 @@ static KMPDFEditAppendWindow *windowController = nil;
|
|
}
|
|
}
|
|
|
|
|
|
if (KMLightMemberManager.manager.purchaseState != KMPurchaseManagerStateSubscription && _files.count > 2) {
|
|
if (KMLightMemberManager.manager.purchaseState != KMPurchaseManagerStateSubscription && _files.count > 2) {
|
|
- [KMSubscribeWaterMarkWindowController showWithWindow: self.window isContinue:true type:KMSubscribeWaterMarkTypeMerge subscribeDidClick:^{
|
|
|
|
|
|
+ [KMSubscribeWaterMarkWindowController showWithWindow: self.window isContinue: false type:KMSubscribeWaterMarkTypeMerge subscribeDidClick:^{
|
|
|
|
|
|
} completion:^(BOOL isSub, BOOL isWater, BOOL isClose) {
|
|
} completion:^(BOOL isSub, BOOL isWater, BOOL isClose) {
|
|
|
|
|
|
}];
|
|
}];
|
|
return;
|
|
return;
|
|
|
|
+ } else if (KMLightMemberManager.manager.purchaseState != KMPurchaseManagerStateSubscription && _files.count <= 2) {
|
|
|
|
+ __weak typeof(self) weakSelf = self;
|
|
|
|
+ [KMSubscribeWaterMarkWindowController showWithWindow: self.window isContinue:true type:KMSubscribeWaterMarkTypeMerge subscribeDidClick:^{
|
|
|
|
+
|
|
|
|
+ } completion:^(BOOL isSub, BOOL isWater, BOOL isClose) {
|
|
|
|
+ if (isWater) {
|
|
|
|
+ dispatch_async(dispatch_get_main_queue(), ^{
|
|
|
|
+ [weakSelf buttonItemClick_Append: sender];
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ }];
|
|
|
|
+ return;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ [self buttonItemClick_Append: sender];
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+- (void)buttonItemClick_Append:(id)sender {
|
|
KMImageTitleButton *customSizeButton = self.customSizeButton.subviews.lastObject;
|
|
KMImageTitleButton *customSizeButton = self.customSizeButton.subviews.lastObject;
|
|
if (customSizeButton.state == NSControlStateValueOn) {
|
|
if (customSizeButton.state == NSControlStateValueOn) {
|
|
NSInteger widthFloat = [self.pageSizeWidthTextField.stringValue integerValue];
|
|
NSInteger widthFloat = [self.pageSizeWidthTextField.stringValue integerValue];
|