mirror of
https://github.com/mue/mue.git
synced 2026-07-17 22:14:13 +02:00
fix: photo info share modal, navbar, remove unused code
This commit is contained in:
@@ -63,7 +63,6 @@ export default class SliderComponent extends PureComponent {
|
||||
<>
|
||||
<span className={'sliderTitle'}>
|
||||
{this.props.title}
|
||||
{/*<span>{Number(this.state.value / 100)}x</span>*/}
|
||||
<span>{Number(this.state.value)}</span>
|
||||
<span className="link" onClick={this.resetItem}>
|
||||
<MdRefresh />
|
||||
|
||||
@@ -132,11 +132,6 @@ export default function AppearanceSettings() {
|
||||
/>
|
||||
</SettingsItem>
|
||||
|
||||
{/*<h3>{getMessage('modals.main.settings.sections.appearance.accessibility.title')}</h3>
|
||||
<Checkbox text={getMessage('modals.main.settings.sections.appearance.accessibility.text_shadow')} name='textBorder' category='other'/>
|
||||
<Checkbox text={getMessage('modals.main.settings.sections.appearance.accessibility.animations')} name='animations' category='other'/>
|
||||
<Slider title={getMessage('modals.main.settings.sections.appearance.accessibility.toast_duration')} name='toastDisplayTime' default='2500' step='100' min='500' max='5000' marks={values('toast')}
|
||||
display={' ' + getMessage('modals.main.settings.sections.appearance.accessibility.milliseconds')} />*/}
|
||||
<SettingsItem
|
||||
title={getMessage('modals.main.settings.sections.appearance.accessibility.title')}
|
||||
subtitle="Accessibility settings for Mue"
|
||||
|
||||
@@ -59,8 +59,6 @@ export default class Stats extends PureComponent {
|
||||
|
||||
return (
|
||||
<>
|
||||
{/*<h2>{getMessage('modals.main.settings.sections.stats.title')}</h2>
|
||||
<Switch name='stats' text={getMessage('modals.main.settings.sections.stats.usage')} category='stats'/>*/}
|
||||
<span className="mainTitle">{getMessage('modals.main.settings.sections.stats.title')}</span>
|
||||
<SettingsItem
|
||||
title={getMessage('modals.main.settings.reminder.title')}
|
||||
|
||||
@@ -187,7 +187,6 @@ export default class CustomSettings extends PureComponent {
|
||||
</div>
|
||||
</div>
|
||||
<div className="action">
|
||||
{/*<button onClick={() => this.uploadCustomBackground()}>{this.getMessage('modals.main.settings.sections.background.source.add_background')} <MdAddPhotoAlternate/></button>*/}
|
||||
<div className="dropzone" ref={this.customDnd}>
|
||||
<MdAddPhotoAlternate />
|
||||
<span className="title">Drop to upload</span>
|
||||
@@ -200,12 +199,6 @@ export default class CustomSettings extends PureComponent {
|
||||
{this.getMessage('modals.main.settings.sections.background.source.add_url')}{' '}
|
||||
<MdAddLink />
|
||||
</button>
|
||||
{/*<span className='subtitle'>
|
||||
{this.getMessage('modals.main.settings.sections.background.source.custom_background')}{' '}
|
||||
<span className="link" onClick={this.resetCustom}>
|
||||
{this.getMessage('modals.main.settings.buttons.reset')}
|
||||
</span>
|
||||
</span>*/}
|
||||
</div>
|
||||
</div>
|
||||
<FileUpload
|
||||
|
||||
Reference in New Issue
Block a user