Hover to see email on settings

This commit is contained in:
Made Baruna 2021-10-16 11:59:43 +07:00
parent 8acc516e85
commit 1fab8a155f
No known key found for this signature in database
GPG key ID: 5AA5DA16AA5DCEAD
2 changed files with 6 additions and 2 deletions

View file

@ -587,7 +587,8 @@
"importWarning": "Remember to backup your data by exporting first! All data will be replaced!", "importWarning": "Remember to backup your data by exporting first! All data will be replaced!",
"importContinue": "Continue", "importContinue": "Continue",
"importSuccess": "Import Success! Reloading in 5 seconds...", "importSuccess": "Import Success! Reloading in 5 seconds...",
"importFailed": "Import Failed!" "importFailed": "Import Failed!",
"email": "Email:"
}, },
"privacypolicy": { "privacypolicy": {
"title": "Privacy Policy", "title": "Privacy Policy",

View file

@ -338,7 +338,10 @@
<Icon path={mdiGoogleDrive} className="mr-2" /> <Icon path={mdiGoogleDrive} className="mr-2" />
{$t('settings.driveSignOut')} {$t('settings.driveSignOut')}
</Button> </Button>
<p class="text-white mt-4">{$driveEmail}</p> <p class="text-white mt-4">
{$t('settings.email')}
<span class="hover:text-white bg-background text-background rounded-md px-2">{$driveEmail}</span>
</p>
<p class="text-white mt-4"> <p class="text-white mt-4">
{$t('settings.syncStatus')} {$t('settings.syncStatus')}
<span class={`font-bold ${isSynced ? 'text-green-400' : 'text-yellow-400'}`}> <span class={`font-bold ${isSynced ? 'text-green-400' : 'text-yellow-400'}`}>