From f7ba9cbd7f78d521b99fe14d8ddff535f37cf34f Mon Sep 17 00:00:00 2001 From: Igor Date: Wed, 22 Jan 2025 14:33:27 +0100 Subject: [PATCH] fix(GiniBankSDK): set modal presentation style PM-133 --- .../Resources/DigitalInvoiceOnboarding.storyboard | 6 +++--- .../Document picker/Gallery/GalleryCoordinator.swift | 1 + .../Core/Screens/Review/ReviewZoomViewController.swift | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/BankSDK/GiniBankSDK/Sources/GiniBankSDK/Resources/DigitalInvoiceOnboarding.storyboard b/BankSDK/GiniBankSDK/Sources/GiniBankSDK/Resources/DigitalInvoiceOnboarding.storyboard index 2cea0f653..544da2432 100644 --- a/BankSDK/GiniBankSDK/Sources/GiniBankSDK/Resources/DigitalInvoiceOnboarding.storyboard +++ b/BankSDK/GiniBankSDK/Sources/GiniBankSDK/Resources/DigitalInvoiceOnboarding.storyboard @@ -1,9 +1,9 @@ - + - + @@ -12,7 +12,7 @@ - + diff --git a/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/Document picker/Gallery/GalleryCoordinator.swift b/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/Document picker/Gallery/GalleryCoordinator.swift index 43c3691c6..ec9088024 100644 --- a/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/Document picker/Gallery/GalleryCoordinator.swift +++ b/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/Document picker/Gallery/GalleryCoordinator.swift @@ -41,6 +41,7 @@ final class GalleryCoordinator: NSObject, Coordinator { lazy fileprivate(set) var containerNavigationController: ContainerNavigationController = { let container = ContainerNavigationController(rootViewController: self.galleryNavigator, giniConfiguration: self.giniConfiguration) + container.modalPresentationStyle = .pageSheet return container }() diff --git a/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/Review/ReviewZoomViewController.swift b/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/Review/ReviewZoomViewController.swift index e1bf48bad..1d121aa85 100644 --- a/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/Review/ReviewZoomViewController.swift +++ b/CaptureSDK/GiniCaptureSDK/Sources/GiniCaptureSDK/Core/Screens/Review/ReviewZoomViewController.swift @@ -28,6 +28,7 @@ final class ReviewZoomViewController: UIViewController { init(page: GiniCapturePage) { self.page = page super.init(nibName: nil, bundle: nil) + modalPresentationStyle = .pageSheet } @available(*, unavailable)