forked from akai/readest
Change books library path
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user