From 15578efb732673765810878a06ae1a96deb374a3 Mon Sep 17 00:00:00 2001 From: Piotr Pietruszewski Date: Fri, 14 Aug 2020 13:42:59 +0200 Subject: [PATCH] fix: fixed screen styles formatting --- example/src/constants/screenStyles.js | 40 +++++++++++++-------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/example/src/constants/screenStyles.js b/example/src/constants/screenStyles.js index 30be8d33..96c213a8 100644 --- a/example/src/constants/screenStyles.js +++ b/example/src/constants/screenStyles.js @@ -1,27 +1,27 @@ -import {StyleSheet, Platform} from 'react-native'; -import {ifIphoneX} from '../constants/utils'; -import colors from './colors'; -import constants from './constants'; +import { StyleSheet, Platform } from 'react-native' +import { ifIphoneX } from './utils' +import colors from './colors' +import constants from './constants' const screenStyles = StyleSheet.create({ container: { flex: 1, justifyContent: 'center', - alignItems: 'center', + alignItems: 'center' }, content: { flex: 1, paddingHorizontal: 24, alignItems: 'center', justifyContent: 'center', - paddingBottom: 24, + paddingBottom: 24 }, flatlistContainer: { width: constants.deviceWidth, height: constants.deviceHeight - 80, alignItems: 'center', justifyContent: 'center', - paddingBottom: 24, + paddingBottom: 24 }, contentText: { fontSize: 24, @@ -31,50 +31,50 @@ const screenStyles = StyleSheet.create({ letterSpacing: -0.2, paddingTop: 40, paddingBottom: 20, - fontFamily: 'AvertaStd-Semibold', + fontFamily: 'AvertaStd-Semibold' }, foreground: { flex: 1, paddingHorizontal: 24, - justifyContent: 'flex-end', + justifyContent: 'flex-end' }, background: { width: '100%', justifyContent: 'flex-end', backgroundColor: colors.primaryGreen, - height: '100%', + height: '100%' }, headerWrapper: { width: '100%', paddingHorizontal: 24, - paddingTop: Platform.select({ios: ifIphoneX(50, 40), android: 55}), + paddingTop: Platform.select({ ios: ifIphoneX(50, 40), android: 55 }), flexDirection: 'row', justifyContent: 'space-between', - alignItems: 'center', + alignItems: 'center' }, logo: { height: 24, - width: 142, + width: 142 }, message: { color: colors.white, fontSize: constants.responsiveWidth(11), lineHeight: 48, letterSpacing: -1, - fontFamily: 'AvertaStd-Semibold', + fontFamily: 'AvertaStd-Semibold' }, messageContainer: { paddingTop: 24, - paddingBottom: 24, + paddingBottom: 24 }, profilePic: { width: constants.responsiveWidth(18), height: constants.responsiveWidth(18), - borderRadius: constants.responsiveWidth(4.5), + borderRadius: constants.responsiveWidth(4.5) }, foregroundText: { - color: colors.white, - }, -}); + color: colors.white + } +}) -export default screenStyles; +export default screenStyles