Commit c436ec30 authored by Marek Kotewicz's avatar Marek Kotewicz
Browse files

Fixed lint errors

parent 93b22e7a
......@@ -71,7 +71,7 @@ function findAccountWithAddress (getState, address) {
}
function hasAccounts (getState) {
return getState().accounts.all.length != 0
return getState().accounts.all.length !== 0
}
export function scannerDispatch (data) {
......
......@@ -52,7 +52,7 @@ const styles = StyleSheet.create({
}
})
const account_scenes =
const accountScenes =
<Scene>
<Scene key='accountList' title='Accounts' component={AccountList}
onRight={() => Actions.iconChooser()}
......@@ -60,7 +60,7 @@ const account_scenes =
rightButtonTextStyle={styles.navibarTitle}
/>
<Scene key='accountNew' component={AccountNew} title='New Account' hideTabBar
onBack={() => Alert.alert("Do you want to cancel account creation?", undefined, [{
onBack={() => Alert.alert('Do you want to cancel account creation?', undefined, [{
text: 'Yes',
onPress: () => {
Actions.popTo('right')
......@@ -138,7 +138,7 @@ const scenes =
/>
</Scene>
<Scene key='right' title='Accounts' icon={TabIcon} navigationBarStyle={styles.navibar} titleStyle={styles.navibarTitle}>
{account_scenes.props.children}
{accountScenes.props.children}
</Scene>
</Scene>
</Scene>
......
......@@ -28,7 +28,7 @@ export default StyleSheet.create({
fullscreenView: {
flex: 1,
marginTop: (Platform.OS === 'ios') ? 64 : 54,
padding: 20,
padding: 20
},
listView: {
flex: 1,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment