summaryrefslogtreecommitdiff
path: root/app/components/screen/screen.presets.ts
diff options
context:
space:
mode:
Diffstat (limited to 'app/components/screen/screen.presets.ts')
-rw-r--r--app/components/screen/screen.presets.ts20
1 files changed, 10 insertions, 10 deletions
diff --git a/app/components/screen/screen.presets.ts b/app/components/screen/screen.presets.ts
index a016b77..aa8d8cf 100644
--- a/app/components/screen/screen.presets.ts
+++ b/app/components/screen/screen.presets.ts
@@ -1,5 +1,5 @@
-import { ViewStyle } from "react-native"
-import { color } from "../../theme"
+import { ViewStyle } from 'react-native'
+import { color } from '../../theme'
/**
* All screen keyboard offsets.
@@ -25,13 +25,13 @@ export const presets = {
outer: {
backgroundColor: color.background,
flex: 1,
- height: "100%",
+ height: '100%',
} as ViewStyle,
inner: {
- justifyContent: "flex-start",
- alignItems: "stretch",
- height: "100%",
- width: "100%",
+ justifyContent: 'flex-start',
+ alignItems: 'stretch',
+ height: '100%',
+ width: '100%',
} as ViewStyle,
},
@@ -44,9 +44,9 @@ export const presets = {
outer: {
backgroundColor: color.background,
flex: 1,
- height: "100%",
+ height: '100%',
} as ViewStyle,
- inner: { justifyContent: "flex-start", alignItems: "stretch" } as ViewStyle,
+ inner: { justifyContent: 'flex-start', alignItems: 'stretch' } as ViewStyle,
},
}
@@ -62,5 +62,5 @@ export type ScreenPresets = keyof typeof presets
*/
export function isNonScrolling(preset?: ScreenPresets) {
// any of these things will make you scroll
- return !preset || !presets[preset] || preset === "fixed"
+ return !preset || !presets[preset] || preset === 'fixed'
}