From b638136bfe27ed0cb3521be3243675c3f885305c Mon Sep 17 00:00:00 2001 From: Juan Carlos Garrote Date: Mon, 20 Sep 2021 09:03:15 +0200 Subject: [PATCH] Second round of requested changes --- .../owncloud/android/presentation/ui/security/SecurityUtils.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owncloudApp/src/main/java/com/owncloud/android/presentation/ui/security/SecurityUtils.kt b/owncloudApp/src/main/java/com/owncloud/android/presentation/ui/security/SecurityUtils.kt index 3ff4bf2d54e..040d17ea622 100644 --- a/owncloudApp/src/main/java/com/owncloud/android/presentation/ui/security/SecurityUtils.kt +++ b/owncloudApp/src/main/java/com/owncloud/android/presentation/ui/security/SecurityUtils.kt @@ -31,10 +31,10 @@ enum class LockTimeout { fun toMilliseconds(): Int { return when (this) { + IMMEDIATELY -> 0 ONE_MINUTE -> 60_000 FIVE_MINUTES -> 300_000 THIRTY_MINUTES -> 1_800_000 - else -> 0 } } }