From f0bf4e7afdcd8b02a62be45ab3e7d047ed865a79 Mon Sep 17 00:00:00 2001 From: Kirill Rogovoy Date: Mon, 19 Jul 2021 20:06:08 +0300 Subject: Apply Prettier --- app/components/screen/screen.presets.ts | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'app/components/screen/screen.presets.ts') 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' } -- cgit v1.2.3