Skip to content

Commit efe99c7

Browse files
committed
Fix lint
1 parent fc5598b commit efe99c7

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

StripeFinancialConnections/StripeFinancialConnections/Source/Native/Consent/ConsentDataSource.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ protocol ConsentDataSource: AnyObject {
2424

2525
struct ConsentAcquiredResult {
2626
var manifest: FinancialConnectionsSessionManifest
27-
var consumerSession: ConsumerSessionData? = nil
28-
var consumerPublishableKey: String? = nil
27+
var consumerSession: ConsumerSessionData?
28+
var consumerPublishableKey: String?
2929

3030
var nextPane: FinancialConnectionsSessionManifest.NextPane {
3131
// If we have a consumer session, then provide the returning-user experience

StripeFinancialConnections/StripeFinancialConnections/Source/Native/Consent/ConsentViewController.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -157,12 +157,12 @@ class ConsentViewController: UIViewController {
157157
possibleError: error,
158158
api: .consumerSessionLookup
159159
)
160-
160+
161161
if attestationError != nil {
162162
let prefillDetails = WebPrefillDetails(email: dataSource.email)
163163
self.delegate?.consentViewControllerDidFailAttestationVerdict(self, prefillDetails: prefillDetails)
164164
}
165-
165+
166166
// we display no errors on failure
167167
self.dataSource
168168
.analyticsClient

StripeFinancialConnections/StripeFinancialConnections/Source/Native/NativeFlowController.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ extension NativeFlowController: ConsentViewControllerDelegate {
729729
pushPane(nextPane, parameters: parameters, animated: true)
730730
}
731731
}
732-
732+
733733
func consentViewControllerDidFailAttestationVerdict(
734734
_ viewController: ConsentViewController,
735735
prefillDetails: WebPrefillDetails

StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkLoginWarmup/NetworkingLinkLoginWarmupDataSource.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ final class NetworkingLinkLoginWarmupDataSourceImplementation: NetworkingLinkLog
3434
var email: String? {
3535
manifest.accountholderCustomerEmailAddress ?? elementsSessionContext?.prefillDetails?.email
3636
}
37-
37+
3838
var hasConsumerSession: Bool {
3939
apiClient.consumerSession != nil && apiClient.consumerPublishableKey != nil
4040
}

StripeFinancialConnections/StripeFinancialConnections/Source/Native/NetworkingLinkLoginWarmup/NetworkingLinkLoginWarmupViewController.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ final class NetworkingLinkLoginWarmupViewController: SheetViewController {
120120
eventName: "click.continue",
121121
pane: .networkingLinkLoginWarmup
122122
)
123-
123+
124124
if dataSource.hasConsumerSession {
125125
// We already have a consumer session, so let's us this one directly
126126
delegate?.networkingLinkLoginWarmupViewControllerDidSelectContinue(self)

0 commit comments

Comments
 (0)