mirror of
https://github.com/bitwarden/android.git
synced 2024-11-24 18:36:32 +03:00
PM-10874: Fix biometrics auto-prompt (#3728)
This commit is contained in:
parent
aaa0ce4ecd
commit
2876d75a21
1 changed files with 2 additions and 1 deletions
|
@ -16,6 +16,7 @@ import com.x8bit.bitwarden.data.vault.repository.model.VaultUnlockResult
|
||||||
import com.x8bit.bitwarden.ui.auth.feature.vaultunlock.model.UnlockType
|
import com.x8bit.bitwarden.ui.auth.feature.vaultunlock.model.UnlockType
|
||||||
import com.x8bit.bitwarden.ui.auth.feature.vaultunlock.util.unlockScreenErrorMessage
|
import com.x8bit.bitwarden.ui.auth.feature.vaultunlock.util.unlockScreenErrorMessage
|
||||||
import com.x8bit.bitwarden.ui.platform.base.BaseViewModel
|
import com.x8bit.bitwarden.ui.platform.base.BaseViewModel
|
||||||
|
import com.x8bit.bitwarden.ui.platform.base.util.BackgroundEvent
|
||||||
import com.x8bit.bitwarden.ui.platform.base.util.Text
|
import com.x8bit.bitwarden.ui.platform.base.util.Text
|
||||||
import com.x8bit.bitwarden.ui.platform.base.util.asText
|
import com.x8bit.bitwarden.ui.platform.base.util.asText
|
||||||
import com.x8bit.bitwarden.ui.platform.base.util.hexToColor
|
import com.x8bit.bitwarden.ui.platform.base.util.hexToColor
|
||||||
|
@ -393,7 +394,7 @@ sealed class VaultUnlockEvent {
|
||||||
/**
|
/**
|
||||||
* Prompts the user for biometrics unlock.
|
* Prompts the user for biometrics unlock.
|
||||||
*/
|
*/
|
||||||
data class PromptForBiometrics(val cipher: Cipher) : VaultUnlockEvent()
|
data class PromptForBiometrics(val cipher: Cipher) : BackgroundEvent, VaultUnlockEvent()
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue