From 25d020f2408c90d18388ab098220218ede6fa4d4 Mon Sep 17 00:00:00 2001 From: Oleksii Filobok Date: Thu, 31 Mar 2022 11:56:35 +0300 Subject: [PATCH] the last hotfix --- PandaSDK.podspec | 2 +- Sources/PandaSDK/Views/WebViewController.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PandaSDK.podspec b/PandaSDK.podspec index adfe130..2f58c6c 100644 --- a/PandaSDK.podspec +++ b/PandaSDK.podspec @@ -16,7 +16,7 @@ Pod::Spec.new do |spec| # spec.name = "PandaSDK" - spec.version = "0.7.12" + spec.version = "0.7.13" spec.summary = "Panda pod which will help us boost our revenue." # This description is used to generate tags and improve search results. diff --git a/Sources/PandaSDK/Views/WebViewController.swift b/Sources/PandaSDK/Views/WebViewController.swift index ff78f77..3ea9e41 100644 --- a/Sources/PandaSDK/Views/WebViewController.swift +++ b/Sources/PandaSDK/Views/WebViewController.swift @@ -33,7 +33,7 @@ final class WebViewController: UIViewController, WKScriptMessageHandler { private lazy var wv: WKWebView = { let config = getWKWebViewConfiguration() let wv = WKWebView(frame: view.bounds, configuration: config) - if viewModel.screenData.id.string == "69c444b9-42c5-473a-a22a-873879b7f3ae" || viewModel.screenData.id.string == "451406e2-0b29-4df4-b4cf-2844ea111fc3" { + if viewModel.screenData.id.string == "69c444b9-42c5-473a-a22a-873879b7f3ae" || viewModel.screenData.id.string == "d061da4e-9752-4379-9e6b-32f52cf298c9" { wv.addObserver(self, forKeyPath: #keyPath(WKWebView.isLoading), options: .new, context: nil) } else { wv.navigationDelegate = self