Skip to content

Commit

Permalink
feat: add 10 minute option in LockInterval (#2879)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickReiis authored Sep 9, 2024
1 parent 4a3b5f5 commit 346ecff
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/ui-services/src/Security/AutolockService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const LockInterval = {
Immediate: 1,
OneMinute: 60 * MILLISECONDS_PER_SECOND,
FiveMinutes: 300 * MILLISECONDS_PER_SECOND,
TenMinutes: 600 * MILLISECONDS_PER_SECOND,
OneHour: 3600 * MILLISECONDS_PER_SECOND,
}

Expand Down Expand Up @@ -133,6 +134,10 @@ export class AutolockService extends AbstractService {
value: LockInterval.FiveMinutes,
label: '5m',
},
{
value: LockInterval.TenMinutes,
label: '10m',
},
{
value: LockInterval.OneHour,
label: '1h',
Expand Down

0 comments on commit 346ecff

Please sign in to comment.