From 31fa9d410671a218c7dd9e3abc095599cf1c0e6c Mon Sep 17 00:00:00 2001 From: Oleg Tverdokhleb Date: Thu, 25 Oct 2018 12:26:12 +0300 Subject: [PATCH] Fix extension override --- .../Molecules/UIKit+Styles/UIButton+Style.swift | 12 ------------ .../User Stories/Root/RootViewController.swift | 2 +- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/YandexCheckoutPayments/Atomic Design/Molecules/UIKit+Styles/UIButton+Style.swift b/YandexCheckoutPayments/Atomic Design/Molecules/UIKit+Styles/UIButton+Style.swift index a70f77d8..fbcfef2a 100644 --- a/YandexCheckoutPayments/Atomic Design/Molecules/UIKit+Styles/UIButton+Style.swift +++ b/YandexCheckoutPayments/Atomic Design/Molecules/UIKit+Styles/UIButton+Style.swift @@ -180,18 +180,6 @@ extension UIButton { extension UIButton { - // TODO: Remove in ios-1764 - open override func tintColorDidChange() { - applyStyles() - } - - // TODO: Remove in ios-1765 - open override var intrinsicContentSize: CGSize { - let size = super.intrinsicContentSize - return CGSize(width: size.width + titleEdgeInsets.left + titleEdgeInsets.right, - height: size.height + titleEdgeInsets.top + titleEdgeInsets.bottom) - } - private func setColorizedImage(_ image: UIImage, color: UIColor, for state: UIControlState) { diff --git a/YandexCheckoutPaymentsExample/User Stories/Root/RootViewController.swift b/YandexCheckoutPaymentsExample/User Stories/Root/RootViewController.swift index fbe5df53..6084fc71 100644 --- a/YandexCheckoutPaymentsExample/User Stories/Root/RootViewController.swift +++ b/YandexCheckoutPaymentsExample/User Stories/Root/RootViewController.swift @@ -335,7 +335,7 @@ final class RootViewController: UIViewController { } let amount = Amount(value: settings.price, currency: .rub) - let oauthToken = "live_MTkzODU2ScFXd5EXdUIP1HXmGSvpeLO3yMPnaPs2rs0" + let oauthToken = "live_MTkzODU2VY5GiyQq2GMPsCQ0PW7f_RSLtJYOT-mp_CA" let inputData = TokenizationModuleInputData(clientApplicationKey: oauthToken, shopName: translate(Localized.name), purchaseDescription: translate(Localized.description),