From 080fe70742805b89d33685ae3c1b1b0f64a56f03 Mon Sep 17 00:00:00 2001 From: amnix Date: Wed, 13 Nov 2024 10:28:56 +0900 Subject: [PATCH] Lint fixup --- ios/ios/KomojuPaymentView.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ios/ios/KomojuPaymentView.swift b/ios/ios/KomojuPaymentView.swift index 6ef9b47..e17c0d5 100644 --- a/ios/ios/KomojuPaymentView.swift +++ b/ios/ios/KomojuPaymentView.swift @@ -5,7 +5,7 @@ import UIKit public struct KomojuPaymentView: View { @State var isVisible: Bool = false @State private var sheetHeight: CGFloat = .zero - @State private var deeplinkUrl: String? = nil + @State private var deeplinkUrl: String? let configuration: KomojuIosSDK.Configuration let onDismiss: (KomojuIosSDK.PaymentResult) -> Void @@ -29,7 +29,7 @@ public struct KomojuPaymentView: View { .ignoresSafeArea(.keyboard) }.onOpenURL(perform: onNewDeeplink) } - + private func onNewDeeplink(_ url: URL) { deeplinkUrl = url.absoluteString }