Updated on 2026-08-14

This commit is contained in:
Tangem 2025-11-04 14:59:20 +03:00
parent d65126239d
commit 3aef6bf69c

View file

@ -135,13 +135,15 @@ internal class AskBiometryModel @Inject constructor(
params.modelCallbacks.onAllowed()
}
private fun setBiometryLockForAllWallets() {
modelScope.launch {
userWalletsListRepository.userWalletsSync().forEach { userWallet ->
userWalletsListRepository.setLock(
userWalletId = userWallet.walletId,
lockMethod = UserWalletsListRepository.LockMethod.Biometric,
changeUnsecured = false,
private suspend fun setBiometryLockForAllWallets() {
userWalletsListRepository.userWalletsSync().forEach { userWallet ->
userWalletsListRepository.setLock(
userWalletId = userWallet.walletId,
lockMethod = UserWalletsListRepository.LockMethod.Biometric,
changeUnsecured = false,
).onLeft {
uiMessageSender.send(
SnackbarMessage(stringReference("Something went wrong. Please contact support: $it")),
)
}
}