Skip to content

Commit

Permalink
feat: extract default lock screen timeout in minutes to a constant (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Tuditi authored Nov 8, 2023
1 parent ed1daf8 commit 3007112
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const DEFAULT_LOCK_SCREEN_TIMEOUT_IN_MINUTES = 30
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { DEFAULT_MARKET_CURRENCY } from '@core/market'
import { ProfileType } from '../enums'
import { IPersistedProfile } from '../interfaces'
import { DEFAULT_LOCK_SCREEN_TIMEOUT_IN_MINUTES } from './default-lock-screen-timeout-in-minutes.constant'
import { DEFAULT_STRONGHOLD_PASSWORD_TIMEOUT_IN_MINUTES } from './default_stronghold_password_timeout_in_minutes.constant'
import { DEFAULT_MAX_NFT_DOWNLOADING_TIME_IN_SECONDS, DEFAULT_MAX_NFT_SIZE_IN_MEGABYTES } from '@core/nfts/constants'
import { PROFILE_VERSION } from './profile-version.constant'
Expand All @@ -17,7 +18,7 @@ export const DEFAULT_PERSISTED_PROFILE_OBJECT: IPersistedProfile = {
lastStrongholdBackupTime: undefined,
settings: {
marketCurrency: DEFAULT_MARKET_CURRENCY,
lockScreenTimeoutInMinutes: 5,
lockScreenTimeoutInMinutes: DEFAULT_LOCK_SCREEN_TIMEOUT_IN_MINUTES,
strongholdPasswordTimeoutInMinutes: DEFAULT_STRONGHOLD_PASSWORD_TIMEOUT_IN_MINUTES,
maxMediaSizeInMegaBytes: DEFAULT_MAX_NFT_SIZE_IN_MEGABYTES,
maxMediaDownloadTimeInSeconds: DEFAULT_MAX_NFT_DOWNLOADING_TIME_IN_SECONDS,
Expand Down

0 comments on commit 3007112

Please sign in to comment.