Updated on 2026-08-14
This commit is contained in:
parent
d65126239d
commit
3aef6bf69c
1 changed files with 9 additions and 7 deletions
|
|
@ -135,13 +135,15 @@ internal class AskBiometryModel @Inject constructor(
|
||||||
params.modelCallbacks.onAllowed()
|
params.modelCallbacks.onAllowed()
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun setBiometryLockForAllWallets() {
|
private suspend fun setBiometryLockForAllWallets() {
|
||||||
modelScope.launch {
|
userWalletsListRepository.userWalletsSync().forEach { userWallet ->
|
||||||
userWalletsListRepository.userWalletsSync().forEach { userWallet ->
|
userWalletsListRepository.setLock(
|
||||||
userWalletsListRepository.setLock(
|
userWalletId = userWallet.walletId,
|
||||||
userWalletId = userWallet.walletId,
|
lockMethod = UserWalletsListRepository.LockMethod.Biometric,
|
||||||
lockMethod = UserWalletsListRepository.LockMethod.Biometric,
|
changeUnsecured = false,
|
||||||
changeUnsecured = false,
|
).onLeft {
|
||||||
|
uiMessageSender.send(
|
||||||
|
SnackbarMessage(stringReference("Something went wrong. Please contact support: $it")),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue