This commit is contained in:
zeppi 2022-04-21 21:34:41 -04:00
parent b4669d841e
commit 1e658b6cf3

View file

@ -127,23 +127,23 @@ export default function SettingContent(props: Props) {
onChange={() => setClientSetting(SETTINGS.PERSIST_WATCH_TIME, !persistWatchTime)} onChange={() => setClientSetting(SETTINGS.PERSIST_WATCH_TIME, !persistWatchTime)}
checked={persistWatchTime} checked={persistWatchTime}
/> />
{/* </div> */} {/* </div>
{/* Disabled until styling is better */} Disabled until styling is better
{/* <div className="settings__persistWatchTimeClearCache"> */} <div className="settings__persistWatchTimeClearCache">
{/* <Button */} <Button
{/* button="primary" */} button="primary"
{/* icon={ICONS.ALERT} */} icon={ICONS.ALERT}
{/* label={ */} label={
{/* contentCacheCleared */} contentCacheCleared
{/* ? __('Views cleared') */} ? __('Views cleared')
{/* : clearingContentCache */} : clearingContentCache
{/* ? __('Clearing...') */} ? __('Clearing...')
{/* : __('Clear Views') */} : __('Clear Views')
{/* } */} }
{/* onClick={onClearContentCache} */} onClick={onClearContentCache}
{/* disabled={clearingContentCache || contentCacheCleared} */} disabled={clearingContentCache || contentCacheCleared}
{/* /> */} />
{/* </div> */} </div> */}
</SettingsRow> </SettingsRow>
<SettingsRow title={__('Show mature content')} subtitle={__(HELP.SHOW_MATURE)}> <SettingsRow title={__('Show mature content')} subtitle={__(HELP.SHOW_MATURE)}>
<FormField <FormField