From fd2bb3dc1f31f57edc2a19e4860f38fe83c9d890 Mon Sep 17 00:00:00 2001
From: Sean Yesmunt
Date: Mon, 26 Aug 2019 14:32:45 -0400
Subject: [PATCH] hide additional settings on lbry.tv
---
src/ui/page/settings/view.jsx | 19 ++++++++-----------
1 file changed, 8 insertions(+), 11 deletions(-)
diff --git a/src/ui/page/settings/view.jsx b/src/ui/page/settings/view.jsx
index b4963ba02..7a3e3a518 100644
--- a/src/ui/page/settings/view.jsx
+++ b/src/ui/page/settings/view.jsx
@@ -211,15 +211,13 @@ class SettingsPage extends React.PureComponent {
return (
- // @if TARGET='app'
- {noDaemonSettings ? (
+ {!IS_WEB && noDaemonSettings ? (
{__('Failed to load settings.')}
) : (
- // @endif
- // @if TARGET='app'
+ {/* @if TARGET='app' */}
{__('Download Directory')}
@@ -234,7 +232,6 @@ class SettingsPage extends React.PureComponent {
{__('LBRY downloads will be saved here.')}
- // @endif // @if TARGET='app'
{__('Network and Data Settings')}
- // @endif
{__('Max Purchase Price')}
@@ -343,6 +339,7 @@ class SettingsPage extends React.PureComponent {
+ {/* @endif */}
{__('Content Settings')}
{
- // @if TARGET='app'
+ {/* @if TARGET='app' */}
- // @endif
{__('Share Diagnostic Data')}
@@ -422,6 +418,7 @@ class SettingsPage extends React.PureComponent {
/>
+ {/* @endif */}
{__('Appearance')}
@@ -483,7 +480,8 @@ class SettingsPage extends React.PureComponent {
- // @if TARGET='app'
+ {/* @if TARGET='app' */}
+
{__('Wallet Security')}
@@ -512,7 +510,6 @@ class SettingsPage extends React.PureComponent {
/>
- // @endif // @if TARGET='app'
{__('Experimental Settings')}
@@ -585,7 +582,7 @@ class SettingsPage extends React.PureComponent {
- // @endif
+ {/* @endif */}
{__('Application Cache')}