From 1841747566f6170debca5bcebe8ae585567b3bf7 Mon Sep 17 00:00:00 2001 From: tina <lt-bloody@riox.eu> Date: Fri, 28 Sep 2018 19:57:21 +0200 Subject: [PATCH] fixes line length warnings --- components/cycle-day/symptoms/action-button-footer.js | 7 ++++++- components/header.js | 5 ++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/components/cycle-day/symptoms/action-button-footer.js b/components/cycle-day/symptoms/action-button-footer.js index 35360ba3..c70fca34 100644 --- a/components/cycle-day/symptoms/action-button-footer.js +++ b/components/cycle-day/symptoms/action-button-footer.js @@ -48,7 +48,12 @@ export default class ActionButtonFooter extends Component { const textStyle = [styles.menuText] if (disabledCondition) textStyle.push(styles.menuTextInActive) const iconStyle = disabledCondition ? - Object.assign({}, iconStyles.menuIcon, iconStyles.menuIconInactive) : + Object.assign( + {}, + iconStyles.menuIcon, + iconStyles.menuIconInactive + ) + : iconStyles.menuIcon return ( diff --git a/components/header.js b/components/header.js index b99ed15f..e147ccae 100644 --- a/components/header.js +++ b/components/header.js @@ -14,7 +14,10 @@ export default class Header extends Component { return ( this.props.isCycleDayOverView ? <View style={[styles.header, styles.headerCycleDay]}> - <View style={styles.accentCircle} left={middle - styles.accentCircle.width / 2}/> + <View + style={styles.accentCircle} + left={middle - styles.accentCircle.width / 2} + /> <Icon name='arrow-left-drop-circle' {...iconStyles.navigationArrow} -- GitLab