This commit is contained in:
Mirco Wittrien 2021-02-03 11:07:59 +01:00
parent 1cdc1860e8
commit eeb20fed54
2 changed files with 4 additions and 3 deletions

View File

@ -667,9 +667,7 @@ module.exports = (_ => {
let reloadButton = updateNotice.querySelector(BDFDB.dotCN.noticebutton);
if (reloadButton) {
BDFDB.DOMUtils.toggle(reloadButton, true);
reloadButton.addEventListener("click", _ => {
LibraryRequires.electron && LibraryRequires.electron.remote && LibraryRequires.electron.remote.getCurrentWindow().reload();
});
reloadButton.addEventListener("click", location.reload);
reloadButton.addEventListener("mouseenter", _ => {
if (window.PluginUpdates.downloaded) BDFDB.TooltipUtils.create(reloadButton, window.PluginUpdates.downloaded.join(", "), {
type: "bottom",

View File

@ -2126,6 +2126,9 @@ html .monaco-editor [style*="border-left-color: rgb(9, 71, 113)"] {
/* ~~~~ 14. POWERCORDSUPPORT ~~~~ */
html .powercord-toast[data-toast-type=info] .icon {
color: rgb(var(--vaccentcolor));
}
html .powercord-toast .progressBar-3u8FBM {
background-color: rgb(var(--vaccentcolor));
}