Merge pull request #479 from Stremio/feature-acc-deletion-button

added req acc deletion button
This commit is contained in:
Tim 2023-10-17 10:21:44 +02:00 committed by GitHub
commit f980c9e952
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -310,6 +310,16 @@ const Settings = () => {
:
null
}
{
profile.auth !== null && profile.auth.user !== null ?
<div className={styles['option-container']}>
<Button className={classnames(styles['option-input-container'], styles['link-container'])} title={t('SETTINGS_ACC_DELETE')} target={'_blank'} href={'https://stremio.zendesk.com/hc/en-us/articles/360021428911-How-to-delete-my-account'}>
<div className={styles['label']}>{ t('SETTINGS_ACC_DELETE') }</div>
</Button>
</div>
:
null
}
</div>
<div ref={playerSectionRef} className={styles['section-container']}>
<div className={styles['section-title']}>{ t('SETTINGS_NAV_PLAYER') }</div>