From 49edd8e073645ffcfdc6fe811793e416e0885e2b Mon Sep 17 00:00:00 2001 From: David Luco <5156878+dluco@users.noreply.github.com> Date: Thu, 17 Aug 2023 10:57:37 -0700 Subject: [PATCH 1/4] (iOS) Fix color post-process mode w/ multiTabEnabled --- ios/RNTPTDocumentView.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ios/RNTPTDocumentView.m b/ios/RNTPTDocumentView.m index 61cb6479..d9330d6e 100644 --- a/ios/RNTPTDocumentView.m +++ b/ios/RNTPTDocumentView.m @@ -3261,7 +3261,7 @@ - (void)smartZoom:(int)x y:(int)y animated:(BOOL)animated # pragma mark - Color Post Process - (void)setColorPostProcessMode:(NSString *)colorPostProcessMode { - PTPDFViewCtrl *pdfViewCtrl = [[self documentViewController] pdfViewCtrl]; + PTPDFViewCtrl *pdfViewCtrl = self.currentDocumentViewController.pdfViewCtrl; if (pdfViewCtrl) { if ([colorPostProcessMode isEqualToString:PTColorPostProcessModeNoneKey]) { @@ -3278,7 +3278,7 @@ - (void)setColorPostProcessMode:(NSString *)colorPostProcessMode - (void)setColorPostProcessColors:(NSDictionary *)whiteColor blackColor:(NSDictionary *)blackColor { - PTPDFViewCtrl *pdfViewCtrl = [[self documentViewController] pdfViewCtrl]; + PTPDFViewCtrl *pdfViewCtrl = self.currentDocumentViewController.pdfViewCtrl; if (pdfViewCtrl) { UIColor *whiteUIColor = [self convertRGBAToUIColor:whiteColor]; From 42fe30d9044c171f3709449aac3dd4083bd6eded Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 17 Aug 2023 17:59:26 +0000 Subject: [PATCH 2/4] Updating package version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 192b1e0e..d901899a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "react-native-pdftron", "title": "React Native Pdftron", - "version": "3.0.3-25", + "version": "3.0.3-26", "description": "React Native Pdftron", "main": "./lib/index.js", "typings": "index.ts", From 9b3e25780761a090e4ca0b8706c9f301a685588b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 25 Sep 2023 19:36:25 +0000 Subject: [PATCH 3/4] Updating package version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2cc7b947..30be519f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "react-native-pdftron", "title": "React Native Pdftron", - "version": "3.0.3-27", + "version": "3.0.3-28", "description": "React Native Pdftron", "main": "./lib/index.js", "typings": "index.ts", From a7c1d69df7b514f541fd9bc31f17248f04ab8de7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 16 Jul 2024 17:30:01 +0000 Subject: [PATCH 4/4] Updating package version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7fe68106..0e16e582 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "react-native-pdftron", "title": "React Native Pdftron", - "version": "3.0.4-4", + "version": "3.0.4-5", "description": "React Native Pdftron", "main": "./lib/index.js", "typings": "index.ts",