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,