Skip to content

Commit 3a9f4de

Browse files
cttsai-stripeclaude
andcommitted
Inline performOneOffPoll into handleTimeLimitReached
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Committed-By-Agent: claude
1 parent 4a2d7c6 commit 3a9f4de

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

  • paymentsheet/src/main/java/com/stripe/android/paymentsheet/paymentdatacollection/polling

paymentsheet/src/main/java/com/stripe/android/paymentsheet/paymentdatacollection/polling/PollingViewModel.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,7 @@ internal class PollingViewModel @Inject constructor(
126126
private suspend fun handleTimeLimitReached() {
127127
poller.stopPolling()
128128
delay(3.seconds)
129-
performOneOffPoll()
130-
}
131129

132-
private suspend fun performOneOffPoll() {
133130
val intentStatus = poller.forcePoll()
134131
if (intentStatus == StripeIntent.Status.Succeeded) {
135132
_uiState.update {

0 commit comments

Comments
 (0)