Skip to content

Commit

Permalink
fix: Correct window mode page size on open
Browse files Browse the repository at this point in the history
  • Loading branch information
AricRedemption committed Mar 19, 2024
1 parent c272630 commit a901ced
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/data/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ export const FEEB = 1
export const P2PKH_UNLOCK_SIZE = 1 + 1 + 72 + 1 + 33
export const DERIVE_MAX_DEPTH = 1000

export const NOTIFICATION_WIDTH = 360
export const NOTIFICATION_HEIGHT = 600
const IS_WINDOWS = /windows/i.test(navigator.userAgent)

export const NOTIFICATION_WIDTH = IS_WINDOWS ? 366 : 360
export const NOTIFICATION_HEIGHT = IS_WINDOWS ? 640 : 600

export const DEBUG = false
export const IS_DEV = process.env.NODE_ENV === 'development'

0 comments on commit a901ced

Please sign in to comment.