Updated on 2026-08-14

This commit is contained in:
Tangem 2025-07-10 17:44:31 +05:00
parent 6f47c78b23
commit 209e387059
2 changed files with 2 additions and 1 deletions

View file

@ -22,7 +22,6 @@ internal class DefaultCardSettingsComponent @AssistedInject constructor(
@Composable
override fun Content(modifier: Modifier) {
val state by model.screenState.collectAsStateWithLifecycle()
CardSettingsScreen(modifier = modifier, state = state)
}

View file

@ -75,6 +75,8 @@ internal class CardSettingsModel @Inject constructor(
override fun onDestroy() {
super.onDestroy()
// Reset card scanned data
cardSettingsInteractor.clear()
// Restore the previous value of access code request policy
cardSdkConfigRepository.isBiometricsRequestPolicy = previousBiometricsRequestPolicy
}