mirror of
https://github.com/LBRYFoundation/Watch-on-LBRY.git
synced 2025-08-23 17:47:26 +00:00
🍙 New button style with gradient
This commit is contained in:
parent
066c400cce
commit
0ba4efd43e
2 changed files with 10 additions and 5 deletions
|
@ -68,11 +68,14 @@ function WatchOnLbryPopup(params: { profile: Awaited<ReturnType<typeof getProfil
|
||||||
<a onClick={() => loads(generateProfileAndSetNickname(dialogManager)).then(() => renderPopup())} className={`button active`}>
|
<a onClick={() => loads(generateProfileAndSetNickname(dialogManager)).then(() => renderPopup())} className={`button active`}>
|
||||||
Change Nickname
|
Change Nickname
|
||||||
</a>
|
</a>
|
||||||
<a onClick={async () =>
|
<a onClick={async () => {
|
||||||
await dialogManager.confirm("This will delete your keypair from this device.\nStill wanna continue?\n\nNOTE: Without keypair you can't purge your data online.\nSo if you wish to purge, please use purging instead.")
|
if (!await dialogManager.confirm("This will delete your keypair from this device."
|
||||||
&& resetProfileSettings()
|
+ "\nStill wanna continue?"
|
||||||
&& renderPopup()
|
+ "\n\nNOTE: Without keypair you can't purge your data online."
|
||||||
}
|
+ "\nSo if you wish to purge, please use purging instead.")) return
|
||||||
|
resetProfileSettings()
|
||||||
|
renderPopup()
|
||||||
|
}}
|
||||||
className={`button`}
|
className={`button`}
|
||||||
>
|
>
|
||||||
Forget/Logout
|
Forget/Logout
|
||||||
|
|
|
@ -32,6 +32,8 @@ function WatchOnLbryButton({ targetPlatform, lbryPathname, time }: WatchOnLbryBu
|
||||||
gap: '12px',
|
gap: '12px',
|
||||||
borderRadius: '2px',
|
borderRadius: '2px',
|
||||||
backgroundColor: targetPlatform.theme,
|
backgroundColor: targetPlatform.theme,
|
||||||
|
backgroundImage: targetPlatform.theme,
|
||||||
|
fontWeight: 'bold',
|
||||||
border: '0',
|
border: '0',
|
||||||
color: 'whitesmoke',
|
color: 'whitesmoke',
|
||||||
padding: '10px 16px',
|
padding: '10px 16px',
|
||||||
|
|
Loading…
Add table
Reference in a new issue