Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit b8de32e

Browse files
Remove unnecessary styles & ListContent
1 parent 943916c commit b8de32e

File tree

1 file changed

+8
-17
lines changed

1 file changed

+8
-17
lines changed

src/view/cli.js

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,30 +13,19 @@ import { color, font } from '../component/style';
1313
// CLI View
1414
//
1515

16-
const styles = StyleSheet.create({
17-
content: {
18-
alignItems: 'flex-start',
19-
paddingBottom: 30,
20-
paddingLeft: 50,
21-
paddingRight: 50,
22-
},
23-
});
24-
2516
const CLIView = ({ store, nav }) => (
26-
<Background color={color.blackDark} style={styles.wrapper}>
17+
<Background color={color.blackDark}>
2718
<Header separator>
2819
<BackButton onPress={() => nav.goSettings()} />
2920
<Title title="CLI" />
3021
<Button disabled onPress={() => {}} />
3122
</Header>
3223
<Background color={color.cliBackground}>
33-
<ListContent>
34-
<List
35-
data={store.logs.slice()}
36-
renderItem={text => <LogItem text={text} />}
37-
scrollToEnd={true}
38-
/>
39-
</ListContent>
24+
<List
25+
data={store.logs.slice()}
26+
renderItem={text => <LogItem text={text} />}
27+
scrollToEnd={true}
28+
/>
4029
</Background>
4130
</Background>
4231
);
@@ -50,6 +39,8 @@ const iStyles = StyleSheet.create({
5039
text: {
5140
textAlign: 'left',
5241
fontSize: font.sizeS,
42+
paddingLeft: 50,
43+
paddingRight: 50,
5344
},
5445
});
5546

0 commit comments

Comments
 (0)