Make sure settings are loaded before loading library, closes #2

This commit is contained in:
chrox
2024-12-02 13:51:22 +01:00
parent 0d50edbff1
commit 3d09eb761c
4 changed files with 13 additions and 4 deletions
@@ -210,6 +210,7 @@ export abstract class BaseAppService implements AppService {
}
async loadLibraryBooks(): Promise<Book[]> {
console.log('Loading library books...');
let books: Book[] = [];
const libraryFilename = getLibraryFilename();