mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 15:15:34 +03:00
BIT-2150: Incorrect default timeout (#1197)
This commit is contained in:
parent
07ddb71cfc
commit
4e2fe8c501
2 changed files with 2 additions and 2 deletions
|
@ -323,7 +323,7 @@ class SettingsRepositoryImpl(
|
|||
override fun setDefaultsIfNecessary(userId: String) {
|
||||
// Set Vault Settings defaults
|
||||
if (!isVaultTimeoutActionSet(userId = userId)) {
|
||||
storeVaultTimeout(userId, VaultTimeout.ThirtyMinutes)
|
||||
storeVaultTimeout(userId, VaultTimeout.FifteenMinutes)
|
||||
storeVaultTimeoutAction(userId, VaultTimeoutAction.LOCK)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -78,7 +78,7 @@ class SettingsRepositoryTest {
|
|||
|
||||
// Calling once sets values
|
||||
assertEquals(
|
||||
30,
|
||||
15,
|
||||
fakeSettingsDiskSource.getVaultTimeoutInMinutes(userId = userId),
|
||||
)
|
||||
assertEquals(
|
||||
|
|
Loading…
Reference in a new issue