From 9d89f0022c036928a85f55cb5c7aa638e89d72e1 Mon Sep 17 00:00:00 2001 From: tina <lt-bloody@riox.eu> Date: Wed, 7 Nov 2018 14:46:33 +0100 Subject: [PATCH] applies linter rules for max length --- components/app.js | 3 ++- components/menu.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/components/app.js b/components/app.js index 6954e777..8fcfb624 100644 --- a/components/app.js +++ b/components/app.js @@ -56,7 +56,8 @@ export default class App extends Component { if (this.state.currentPage === 'Home') return false if (isSymptomView(this.state.currentPage)) { this.navigate( - this.originForSymptomView, { cycleDay: this.state.currentProps.cycleDay } + this.originForSymptomView, + { cycleDay: this.state.currentProps.cycleDay } ) } else if(this.state.currentPage === 'CycleDay') { this.navigate(this.menuOrigin) diff --git a/components/menu.js b/components/menu.js index c70b166b..4e80cbbc 100644 --- a/components/menu.js +++ b/components/menu.js @@ -9,7 +9,8 @@ import Icon from 'react-native-vector-icons/MaterialCommunityIcons' export default class Menu extends Component { makeMenuItem = ({ title, icon, onPress}, i) => { - const styleActive = (this.props.currentPage.toLowerCase() === title) ? {color: secondaryColor} : {} + const styleActive = (this.props.currentPage.toLowerCase() === title) ? + {color: secondaryColor} : {} return ( <TouchableOpacity onPress={onPress} -- GitLab