Fixes and make guild tooltip show users inside hidden voice channels (#613)

* Fix #509

* Fix #597

* Fix #594
This commit is contained in:
Nuckyz 2023-03-19 22:03:33 -03:00 committed by GitHub
parent 4aff11421f
commit e36f4e5b0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 23 additions and 10 deletions

View file

@ -50,7 +50,7 @@ async function init() {
await update();
const needsFullRestart = await rebuild();
if (Settings.autoUpdateNotification)
showNotification({
setTimeout(() => showNotification({
title: "Vencord has been updated!",
body: "Click here to restart",
permanent: true,
@ -60,19 +60,19 @@ async function init() {
else
location.reload();
}
});
}), 10_000);
return;
}
if (Settings.notifyAboutUpdates)
showNotification({
setTimeout(() => showNotification({
title: "A Vencord update is available!",
body: "Click here to view the update",
permanent: true,
onClick() {
SettingsRouter.open("VencordUpdater");
}
});
}), 10_000);
} catch (err) {
UpdateLogger.error("Failed to check for updates", err);
}