update settings
This commit is contained in:
parent
79cc4e75d7
commit
4b3f6e08ec
1 changed files with 14 additions and 2 deletions
|
@ -1,6 +1,16 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { SETTINGS } from 'lbry-redux';
|
import { SETTINGS } from 'lbry-redux';
|
||||||
import { ActivityIndicator, Picker, Platform, Text, View, ScrollView, Switch, NativeModules } from 'react-native';
|
import {
|
||||||
|
ActivityIndicator,
|
||||||
|
Picker,
|
||||||
|
Platform,
|
||||||
|
Text,
|
||||||
|
TextInput,
|
||||||
|
View,
|
||||||
|
ScrollView,
|
||||||
|
Switch,
|
||||||
|
NativeModules,
|
||||||
|
} from 'react-native';
|
||||||
import { navigateBack } from 'utils/helper';
|
import { navigateBack } from 'utils/helper';
|
||||||
import AsyncStorage from '@react-native-community/async-storage';
|
import AsyncStorage from '@react-native-community/async-storage';
|
||||||
import Colors from 'styles/colors';
|
import Colors from 'styles/colors';
|
||||||
|
@ -328,7 +338,9 @@ class SettingsPage extends React.PureComponent {
|
||||||
<View style={settingsStyle.switchText}>
|
<View style={settingsStyle.switchText}>
|
||||||
<Text style={settingsStyle.label}>{__('Participate in the data network')}</Text>
|
<Text style={settingsStyle.label}>{__('Participate in the data network')}</Text>
|
||||||
<Text style={settingsStyle.description}>
|
<Text style={settingsStyle.description}>
|
||||||
{__('Enable DHT (this will take effect upon app and background service restart)')}
|
{__(
|
||||||
|
'Enable peer-to-peer functionality (this will take effect upon app and background service restart)',
|
||||||
|
)}
|
||||||
</Text>
|
</Text>
|
||||||
</View>
|
</View>
|
||||||
<View style={settingsStyle.switchContainer}>
|
<View style={settingsStyle.switchContainer}>
|
||||||
|
|
Loading…
Add table
Reference in a new issue