Improved settings nightmode checkbox

This commit is contained in:
keplyx 2019-09-17 11:53:47 +02:00
parent e2f74b97e6
commit 8c779e0ed6

View file

@ -171,8 +171,10 @@ export default class SettingsScreen extends React.Component<Props, State> {
</Text> </Text>
</Body> </Body>
<Right> <Right>
<CheckBox checked={this.state.nightMode} <CheckBox
onPress={() => this.toggleNightMode()}/> checked={this.state.nightMode}
onPress={() => this.toggleNightMode()}
style={{marginRight: 20}}/>
</Right> </Right>
</ListItem> </ListItem>
); );