Skip to content

Commit

Permalink
remove example app changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ccen-stripe committed Apr 13, 2023
1 parent afeb089 commit d65ee26
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package com.stripe.android.identity.example

import android.app.Application
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.liveData
import com.github.kittinunf.fuel.Fuel
import com.github.kittinunf.fuel.coroutines.awaitStringResult
Expand All @@ -20,9 +19,6 @@ internal class IdentityExampleViewModel(application: Application) : AndroidViewM
}
}

val vsData: MutableLiveData<String> = MutableLiveData()
val eakData: MutableLiveData<String> = MutableLiveData()

fun postForResult(
type: VerificationType,
allowDrivingLicense: Boolean,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -688,19 +688,6 @@ private fun SubmitView(
}
}

Button(
modifier = Modifier.fillMaxWidth(),
enabled = viewModel.vsData.value != null,
onClick = {
identityVerificationSheet.present(
requireNotNull(viewModel.vsData.value),
requireNotNull(viewModel.eakData.value)
)
}
) {
Text(text = "Start previous verfication")
}

LoadVSView(
viewModel,
loadingState,
Expand Down

0 comments on commit d65ee26

Please sign in to comment.