Browse Source

fix fix aligment on new Settings and promote Electrum

fiatinpt
ncoelho 5 years ago
committed by Overtorment
parent
commit
35a1bd5390
  1. 13
      screen/settings/GeneralSettings.js
  2. 2
      screen/settings/NetworkSettings.js

13
screen/settings/GeneralSettings.js

@ -36,7 +36,6 @@ const GeneralSettings = () => {
) : (
<SafeBlueArea forceInset={{ horizontal: 'always' }} style={{ flex: 1 }}>
<ScrollView>
<BlueCard>
{BlueApp.getWallets().length > 1 && (
<>
<BlueListItem component={TouchableOpacity} onPress={() => navigate('DefaultView')} title="On Launch" />
@ -44,17 +43,10 @@ const GeneralSettings = () => {
)}
{Platform.OS === 'ios' ? (
<>
<BlueListItem
hideChevron
title={'Continuity'}
switchButton
onSwitch={onHandOffEnabledSwitch}
switched={isHandoffUseEnabled}
/>
<BlueListItem hideChevron title={'Continuity'} switchButton onSwitch={onHandOffEnabledSwitch} switched={isHandoffUseEnabled} />
<BlueCard>
<BlueText>
When enabled, you will be able to view selected wallets, and transactions, using your other Apple iCloud connected
devices.
When enabled, you will be able to view selected wallets, and transactions, using your other Apple iCloud connected devices.
</BlueText>
</BlueCard>
<BlueSpacing20 />
@ -74,7 +66,6 @@ const GeneralSettings = () => {
</BlueText>
</BlueCard>
<BlueSpacing20 />
</BlueCard>
</ScrollView>
</SafeBlueArea>
);

2
screen/settings/NetworkSettings.js

@ -17,8 +17,8 @@ const NetworkSettings = () => {
) : (
<SafeBlueArea forceInset={{ horizontal: 'always' }} style={{ flex: 1 }}>
<ScrollView>
<BlueListItem title={loc.settings.lightning_settings} component={TouchableOpacity} onPress={() => navigate('LightningSettings')} />
<BlueListItem title={'Electrum server'} component={TouchableOpacity} onPress={() => navigate('ElectrumSettings')} />
<BlueListItem title={loc.settings.lightning_settings} component={TouchableOpacity} onPress={() => navigate('LightningSettings')} />
</ScrollView>
</SafeBlueArea>
);

Loading…
Cancel
Save