Updated on 2026-08-14
This commit is contained in:
parent
6f47c78b23
commit
209e387059
2 changed files with 2 additions and 1 deletions
|
|
@ -22,7 +22,6 @@ internal class DefaultCardSettingsComponent @AssistedInject constructor(
|
||||||
@Composable
|
@Composable
|
||||||
override fun Content(modifier: Modifier) {
|
override fun Content(modifier: Modifier) {
|
||||||
val state by model.screenState.collectAsStateWithLifecycle()
|
val state by model.screenState.collectAsStateWithLifecycle()
|
||||||
|
|
||||||
CardSettingsScreen(modifier = modifier, state = state)
|
CardSettingsScreen(modifier = modifier, state = state)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -75,6 +75,8 @@ internal class CardSettingsModel @Inject constructor(
|
||||||
|
|
||||||
override fun onDestroy() {
|
override fun onDestroy() {
|
||||||
super.onDestroy()
|
super.onDestroy()
|
||||||
|
// Reset card scanned data
|
||||||
|
cardSettingsInteractor.clear()
|
||||||
// Restore the previous value of access code request policy
|
// Restore the previous value of access code request policy
|
||||||
cardSdkConfigRepository.isBiometricsRequestPolicy = previousBiometricsRequestPolicy
|
cardSdkConfigRepository.isBiometricsRequestPolicy = previousBiometricsRequestPolicy
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue