Skip to content

Commit

Permalink
Fix lint errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
sshropshire committed Dec 6, 2024
1 parent 0cb7358 commit 3b32191
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ object CardCallback {
@MainThread
fun onApproveOrderResult(result: CardResult.ApproveOrder)
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ object CardResult {
data object Canceled : FinishApproveOrder()
data object NoResult : FinishApproveOrder()
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ class ApproveOrderViewModel @Inject constructor(
cardClient?.removeObservers()
}

private fun checkIfApproveOrderFinished(intent: Intent): CardResult.FinishApproveOrder?
= authState?.let { cardClient?.finishApproveOrder(intent, it) }
private fun checkIfApproveOrderFinished(intent: Intent): CardResult.FinishApproveOrder? =
authState?.let { cardClient?.finishApproveOrder(intent, it) }

fun completeAuthChallenge(intent: Intent) {
checkIfApproveOrderFinished(intent)?.let { approveOrderResult ->
Expand Down

0 comments on commit 3b32191

Please sign in to comment.