fix: Vencord_cloudSecret check (#2077)

finally got around to fixing it - `null` is never a valid return value,
it's `undefined` 🤦
main
Lewis Crichton 9 months ago committed by Nuckyz
parent 7e395fc696
commit d0dfdbbd5f
No known key found for this signature in database
GPG Key ID: 440BF8296E1C4AD9

@ -44,7 +44,7 @@ async function syncSettings() {
// pre-check for local shared settings
if (
Settings.cloud.authenticated &&
await dsGet("Vencord_cloudSecret") === null // this has been enabled due to local settings share or some other bug
!await dsGet("Vencord_cloudSecret") // this has been enabled due to local settings share or some other bug
) {
// show a notification letting them know and tell them how to fix it
showNotification({
@ -145,4 +145,3 @@ document.addEventListener("DOMContentLoaded", () => {
}));
}
}, { once: true });

Loading…
Cancel
Save