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

Commit 95e022a

Browse files
committed
Cleanup select-atpl-mobile.js
1 parent c95a9a3 commit 95e022a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/view/select-atpl-mobile.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const baseStyles = {
2525
},
2626
copyTxt: {
2727
textAlign: 'center',
28-
marginTop: 10,
28+
marginTop: 20,
2929
maxWidth: 260,
3030
},
3131
list: {
@@ -45,7 +45,7 @@ const styles = createStyles(
4545
marginTop: 40,
4646
},
4747
list: {
48-
marginTop: 20,
48+
marginTop: 50,
4949
},
5050
})
5151
);
@@ -65,14 +65,14 @@ const SelectAutopilotView = ({ store, autopilot, info }) => (
6565
<SettingCopyItem
6666
name="Use autopilot (recommended)"
6767
copy="I want the app to create channels and move my funds into those channels automatically."
68-
onSelect={() => (store.settings.autopilot ? {} : autopilot.toggle())}
68+
onSelect={() => !store.settings.autopilot && autopilot.toggle()}
6969
>
7070
<RadioButton selected={store.settings.autopilot === true} />
7171
</SettingCopyItem>
7272
<SettingCopyItem
7373
name="Create channels manually"
7474
copy="I don't want the app to automatically create channels for me. I can do this all myself."
75-
onSelect={() => (!store.settings.autopilot ? {} : autopilot.toggle())}
75+
onSelect={() => store.settings.autopilot && autopilot.toggle()}
7676
>
7777
<RadioButton selected={store.settings.autopilot === false} />
7878
</SettingCopyItem>

0 commit comments

Comments
 (0)