mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-31 09:21:27 +00:00
hide additional settings on lbry.tv
This commit is contained in:
parent
2deb6d6f16
commit
fd2bb3dc1f
1 changed files with 8 additions and 11 deletions
|
@ -211,15 +211,13 @@ class SettingsPage extends React.PureComponent<Props, State> {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Page>
|
<Page>
|
||||||
// @if TARGET='app'
|
{!IS_WEB && noDaemonSettings ? (
|
||||||
{noDaemonSettings ? (
|
|
||||||
<section className="card card--section">
|
<section className="card card--section">
|
||||||
<div className="card__title">{__('Failed to load settings.')}</div>
|
<div className="card__title">{__('Failed to load settings.')}</div>
|
||||||
</section>
|
</section>
|
||||||
) : (
|
) : (
|
||||||
// @endif
|
|
||||||
<div>
|
<div>
|
||||||
// @if TARGET='app'
|
{/* @if TARGET='app' */}
|
||||||
<section className="card card--section">
|
<section className="card card--section">
|
||||||
<h2 className="card__title">{__('Download Directory')}</h2>
|
<h2 className="card__title">{__('Download Directory')}</h2>
|
||||||
|
|
||||||
|
@ -234,7 +232,6 @@ class SettingsPage extends React.PureComponent<Props, State> {
|
||||||
<p className="help">{__('LBRY downloads will be saved here.')}</p>
|
<p className="help">{__('LBRY downloads will be saved here.')}</p>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
// @endif // @if TARGET='app'
|
|
||||||
<section className="card card--section">
|
<section className="card card--section">
|
||||||
<h2 className="card__title">{__('Network and Data Settings')}</h2>
|
<h2 className="card__title">{__('Network and Data Settings')}</h2>
|
||||||
<Form>
|
<Form>
|
||||||
|
@ -265,7 +262,6 @@ class SettingsPage extends React.PureComponent<Props, State> {
|
||||||
/>
|
/>
|
||||||
</Form>
|
</Form>
|
||||||
</section>
|
</section>
|
||||||
// @endif
|
|
||||||
<section className="card card--section">
|
<section className="card card--section">
|
||||||
<header className="card__header">
|
<header className="card__header">
|
||||||
<h2 className="card__title">{__('Max Purchase Price')}</h2>
|
<h2 className="card__title">{__('Max Purchase Price')}</h2>
|
||||||
|
@ -343,6 +339,7 @@ class SettingsPage extends React.PureComponent<Props, State> {
|
||||||
</p>
|
</p>
|
||||||
</Form>
|
</Form>
|
||||||
</section>
|
</section>
|
||||||
|
{/* @endif */}
|
||||||
<section className="card card--section">
|
<section className="card card--section">
|
||||||
<h2 className="card__title">{__('Content Settings')}</h2>
|
<h2 className="card__title">{__('Content Settings')}</h2>
|
||||||
<FormField
|
<FormField
|
||||||
|
@ -388,7 +385,7 @@ class SettingsPage extends React.PureComponent<Props, State> {
|
||||||
<Button button="link" label={__('Manage')} navigate={`/$/${PAGES.BLOCKED}`} />
|
<Button button="link" label={__('Manage')} navigate={`/$/${PAGES.BLOCKED}`} />
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
// @if TARGET='app'
|
{/* @if TARGET='app' */}
|
||||||
<section className="card card--section">
|
<section className="card card--section">
|
||||||
<h2 className="card__title">{__('Notifications')}</h2>
|
<h2 className="card__title">{__('Notifications')}</h2>
|
||||||
<Form>
|
<Form>
|
||||||
|
@ -402,7 +399,6 @@ class SettingsPage extends React.PureComponent<Props, State> {
|
||||||
/>
|
/>
|
||||||
</Form>
|
</Form>
|
||||||
</section>
|
</section>
|
||||||
// @endif
|
|
||||||
<section className="card card--section">
|
<section className="card card--section">
|
||||||
<h2 className="card__title">{__('Share Diagnostic Data')}</h2>
|
<h2 className="card__title">{__('Share Diagnostic Data')}</h2>
|
||||||
|
|
||||||
|
@ -422,6 +418,7 @@ class SettingsPage extends React.PureComponent<Props, State> {
|
||||||
/>
|
/>
|
||||||
</Form>
|
</Form>
|
||||||
</section>
|
</section>
|
||||||
|
{/* @endif */}
|
||||||
<section className="card card--section">
|
<section className="card card--section">
|
||||||
<h2 className="card__title">{__('Appearance')}</h2>
|
<h2 className="card__title">{__('Appearance')}</h2>
|
||||||
|
|
||||||
|
@ -483,7 +480,8 @@ class SettingsPage extends React.PureComponent<Props, State> {
|
||||||
</fieldset-section>
|
</fieldset-section>
|
||||||
</Form>
|
</Form>
|
||||||
</section>
|
</section>
|
||||||
// @if TARGET='app'
|
{/* @if TARGET='app' */}
|
||||||
|
|
||||||
<section className="card card--section">
|
<section className="card card--section">
|
||||||
<h2 className="card__title">{__('Wallet Security')}</h2>
|
<h2 className="card__title">{__('Wallet Security')}</h2>
|
||||||
|
|
||||||
|
@ -512,7 +510,6 @@ class SettingsPage extends React.PureComponent<Props, State> {
|
||||||
/>
|
/>
|
||||||
</Form>
|
</Form>
|
||||||
</section>
|
</section>
|
||||||
// @endif // @if TARGET='app'
|
|
||||||
<section className="card card--section">
|
<section className="card card--section">
|
||||||
<h2 className="card__title">{__('Experimental Settings')}</h2>
|
<h2 className="card__title">{__('Experimental Settings')}</h2>
|
||||||
|
|
||||||
|
@ -585,7 +582,7 @@ class SettingsPage extends React.PureComponent<Props, State> {
|
||||||
</fieldset-section>
|
</fieldset-section>
|
||||||
</Form>
|
</Form>
|
||||||
</section>
|
</section>
|
||||||
// @endif
|
{/* @endif */}
|
||||||
<section className="card card--section">
|
<section className="card card--section">
|
||||||
<h2 className="card__title">{__('Application Cache')}</h2>
|
<h2 className="card__title">{__('Application Cache')}</h2>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue