Skip to content

Commit

Permalink
fix(rn): network config peer cache
Browse files Browse the repository at this point in the history
Signed-off-by: Godefroy Ponsinet <godefroy.ponsinet@outlook.com>
  • Loading branch information
90dy committed Mar 21, 2019
1 parent b38bb62 commit 035866e
Showing 1 changed file with 12 additions and 1 deletion.
Expand Up @@ -112,13 +112,24 @@ export default class Network extends PureComponent {
}
/>
</Menu.Section>
<Menu.Section title='Connections'>
<Menu.Item
title='Peer cache'
customRight={
<Switch
justify='end'
value={this.state.PeerCache}
onValueChange={PeerCache => this.updateConfig({ PeerCache })}
/>
}
/>
</Menu.Section>
<Menu.Section title='Bootstrap'>
<Menu.Item
title='Default bootstrap'
customRight={
<Switch
justify='end'
disaBLEd={!this.state.loaded}
value={this.state.DefaultBootstrap}
onValueChange={DefaultBootstrap =>
this.updateConfig({ DefaultBootstrap })
Expand Down

0 comments on commit 035866e

Please sign in to comment.