Fix example LndHub URI shown in settings

Replace invalid IP that is missing protocol and port with a valid
example from the reserved IP address space (https://10.20.30.40:3000)
This commit is contained in:
xanoni 2021-09-11 00:19:06 -04:00 committed by Overtorment
parent b24acb0f3f
commit 52b80c8503

View file

@ -152,7 +152,7 @@ const LightningSettings: React.FC & { navigationOptions: NavigationOptionsGetter
<TextInput
value={URI}
placeholder={
loc.formatString(loc.settings.electrum_host, { example: '111.222.333.111' }) +
loc.formatString(loc.settings.electrum_host, { example: 'https://10.20.30.40:3000' }) +
(isTorCapable ? ' (' + loc.settings.tor_supported + ')' : '')
}
onChangeText={setLndhubURI}