REF: Moved description label for onlaunch

This commit is contained in:
marcosrdz 2020-03-29 22:50:18 -04:00
parent 2c6ab64474
commit 5f83d8c061
2 changed files with 4 additions and 4 deletions

View File

@ -40,9 +40,6 @@ const GeneralSettings = () => {
{BlueApp.getWallets().length > 1 && (
<>
<BlueListItem component={TouchableOpacity} onPress={() => navigate('DefaultView')} title="On Launch" />
<BlueCard>
<BlueText>When enabled, BlueWallet will immediately open the selected wallet at launch.</BlueText>
</BlueCard>
</>
)}
{Platform.OS === 'ios' ? (

View File

@ -1,6 +1,6 @@
import React, { useEffect, useState } from 'react';
import { TouchableOpacity, View } from 'react-native';
import { SafeBlueArea, BlueNavigationStyle, BlueListItem } from '../../BlueComponents';
import { SafeBlueArea, BlueCard, BlueText, BlueNavigationStyle, BlueListItem } from '../../BlueComponents';
import OnAppLaunch from '../../class/onAppLaunch';
import { useNavigation } from 'react-navigation-hooks';
const BlueApp = require('../../BlueApp');
@ -58,6 +58,9 @@ const DefaultView = () => {
switched={viewAllWalletsEnabled}
onSwitch={onViewAllWalletsSwitchValueChanged}
/>
<BlueCard>
<BlueText>When disabled, BlueWallet will immediately open the selected wallet at launch.</BlueText>
</BlueCard>
{!viewAllWalletsEnabled && (
<BlueListItem title="Default into" component={TouchableOpacity} onPress={selectWallet} rightTitle={defaultWalletLabel} />
)}