diff --git a/src/pages/popup/main.tsx b/src/pages/popup/main.tsx index 1b9e319..41bc743 100644 --- a/src/pages/popup/main.tsx +++ b/src/pages/popup/main.tsx @@ -68,11 +68,14 @@ function WatchOnLbryPopup(params: { profile: Awaited loads(generateProfileAndSetNickname(dialogManager)).then(() => renderPopup())} className={`button active`}> Change Nickname - - 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.") - && resetProfileSettings() - && renderPopup() - } + { + if (!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.")) return + resetProfileSettings() + renderPopup() + }} className={`button`} > Forget/Logout diff --git a/src/scripts/ytContent.tsx b/src/scripts/ytContent.tsx index b1f97cb..a986107 100644 --- a/src/scripts/ytContent.tsx +++ b/src/scripts/ytContent.tsx @@ -32,6 +32,8 @@ function WatchOnLbryButton({ targetPlatform, lbryPathname, time }: WatchOnLbryBu gap: '12px', borderRadius: '2px', backgroundColor: targetPlatform.theme, + backgroundImage: targetPlatform.theme, + fontWeight: 'bold', border: '0', color: 'whitesmoke', padding: '10px 16px',