diff options
author | Ivan Chen <ivan@tagg.id> | 2021-05-24 17:24:44 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-05-24 17:24:44 -0400 |
commit | a413ca2a7ad004dcfd079b992810e1e63d46660d (patch) | |
tree | eb073dcbe6ff7a5a55839150784480774a803968 /src/utils/layouts.ts | |
parent | 002015e9943ab34d7690babf0fdd24e16b62cf17 (diff) | |
parent | 53f624423fa8f758da5542e62704b59fa53316ea (diff) |
Merge branch 'master' into tma889-touchable-triangle
Diffstat (limited to 'src/utils/layouts.ts')
-rw-r--r-- | src/utils/layouts.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/utils/layouts.ts b/src/utils/layouts.ts index 4d0d557d..c7b39700 100644 --- a/src/utils/layouts.ts +++ b/src/utils/layouts.ts @@ -1,9 +1,8 @@ import {PixelRatio, Platform, StatusBar} from 'react-native'; import {Dimensions} from 'react-native'; -export const {width: SCREEN_WIDTH, height: SCREEN_HEIGHT} = Dimensions.get( - 'window', -); +export const {width: SCREEN_WIDTH, height: SCREEN_HEIGHT} = + Dimensions.get('window'); export const SCREEN_RATIO = SCREEN_HEIGHT / SCREEN_WIDTH; |