mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-01-18 21:35:21 +01:00
REF: Moved description label for onlaunch
This commit is contained in:
parent
2c6ab64474
commit
5f83d8c061
@ -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' ? (
|
||||
|
@ -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} />
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user