This commit is contained in:
Zef Hemel
2023-07-27 17:02:53 +02:00
parent 4ba11ac66c
commit 804d87436c
7 changed files with 60 additions and 40 deletions
+2 -3
View File
@@ -428,8 +428,7 @@ export class Client {
);
}
progressTimeout?: number;
private progressTimeout?: number;
showProgress(progressPerc: number) {
this.ui.viewDispatch({
type: "set-progress",
@@ -714,7 +713,7 @@ export class Client {
}
async loadCustomStyles() {
if (this.settings?.customStyles) {
if (this.settings.customStyles) {
try {
const { text: stylesText } = await this.space.readPage(
this.settings?.customStyles,
+1 -1
View File
@@ -43,7 +43,7 @@ self.addEventListener("install", (event: any) => {
});
self.addEventListener("activate", (event: any) => {
console.log("[Service worker]", "Activating new service worker!!!");
console.log("[Service worker]", "Activating new service worker!");
event.waitUntil(
(async () => {
const cacheNames = await caches.keys();