1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

Tools: Apply "curly" eslint rule

This commit is contained in:
Laurent Cozic
2020-03-13 23:57:34 +00:00
parent e2e55b6e08
commit e399474b4e
10 changed files with 47 additions and 30 deletions

View File

@ -336,12 +336,13 @@ class SideMenuContentComponent extends Component {
items.push(this.renderSideBarButton('synchronize_button', !this.props.syncStarted ? _('Synchronise') : _('Cancel'), 'md-sync', this.synchronize_press));
if (fullReport.length)
if (fullReport.length) {
items.push(
<Text key="sync_report" style={this.styles().syncStatus}>
{fullReport.join('\n')}
</Text>
);
}
return <View style={{ flex: 0, flexDirection: 'column', paddingBottom: theme.marginBottom }}>{items}</View>;
}