Merge remote-tracking branch 'origin/issue48' into ui-impr

This commit is contained in:
KraXen72
2024-06-27 14:52:36 +02:00
+6 -6
View File
@@ -298,12 +298,12 @@ export const WalletScreen: FC<WalletScreenProps> = observer(
log.trace('newMintUrl', newMintUrl) log.trace('newMintUrl', newMintUrl)
if(newMintUrl.includes('.onion')) { // if(newMintUrl.includes('.onion')) {
if(!userSettingsStore.isTorDaemonOn) { // if(!userSettingsStore.isTorDaemonOn) {
setInfo('Please enable Tor daemon in Privacy settings before connecting to the mint using .onion address.') // setInfo('Please enable Tor daemon in Privacy settings before connecting to the mint using .onion address.')
return // return
} // }
} // }
if (mintsStore.alreadyExists(newMintUrl)) { if (mintsStore.alreadyExists(newMintUrl)) {
const msg = translate('walletScreen.mintExists') const msg = translate('walletScreen.mintExists')