fix: Vencord_cloudSecret check (#2077)
finally got around to fixing it - `null` is never a valid return value,
it's `undefined` 🤦
This commit is contained in:
parent
7e395fc696
commit
d0dfdbbd5f
1 changed files with 1 additions and 2 deletions
|
@ -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…
Reference in a new issue