Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tianzhao-stripe committed Jan 17, 2025
1 parent 57fe82b commit d3231f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2506,7 +2506,7 @@ internal class DefaultPaymentElementLoaderTest {
val defaultPaymentMethod = paymentMethodsForTestingOrdering[defaultPaymentMethodIndex]
val defaultPaymentMethodId = defaultPaymentMethod.id

if (setLastUsedIndex != null && setLastUsedIndex in paymentMethodsForTestingOrdering.indices){
if (setLastUsedIndex != null && setLastUsedIndex in paymentMethodsForTestingOrdering.indices) {
val lastUsed = paymentMethodsForTestingOrdering[setLastUsedIndex]
prefsRepository.savePaymentSelection(PaymentSelection.Saved(lastUsed))
}
Expand Down

0 comments on commit d3231f3

Please sign in to comment.