Change books library path

This commit is contained in:
chrox
2024-10-13 00:56:56 +02:00
parent 8229ce30d6
commit 552d9472fc
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ const LibraryPage = () => {
const importBooks = async (files: [string | File]) => {
setLoading(true);
for (const file of files) {
await appService?.importBook(file, libraryBooks).then(() => {});
await appService?.importBook(file, libraryBooks);
setLibraryBooks(libraryBooks);
}
setLoading(false);
+2 -2
View File
@@ -1,2 +1,2 @@
export const LOCAL_BOOKS_SUBDIR = 'DigestLibrary/Books';
export const CLOUD_BOOKS_SUBDIR = 'DigestLibrary/Books';
export const LOCAL_BOOKS_SUBDIR = 'Readest/Books';
export const CLOUD_BOOKS_SUBDIR = 'Readest/Books';