From e018f8341e3df69f20c06d1841296bd5c650d230 Mon Sep 17 00:00:00 2001 From: Vincent Schmandt Date: Tue, 21 Mar 2023 13:27:21 +0100 Subject: [PATCH] EPUB progress persistence --- client/components/readers/EpubReader.vue | 181 +++++++++++----------- client/components/readers/EpubReader2.vue | 88 ----------- client/components/readers/Reader.vue | 3 +- 3 files changed, 89 insertions(+), 183 deletions(-) delete mode 100644 client/components/readers/EpubReader2.vue diff --git a/client/components/readers/EpubReader.vue b/client/components/readers/EpubReader.vue index 9c19c3ec..47678c17 100644 --- a/client/components/readers/EpubReader.vue +++ b/client/components/readers/EpubReader.vue @@ -2,128 +2,123 @@
- chevron_left + chevron_left
-
+
- -
-

{{ progress }}%

-
- chevron_right + chevron_right
diff --git a/client/components/readers/EpubReader2.vue b/client/components/readers/EpubReader2.vue deleted file mode 100644 index 69839d78..00000000 --- a/client/components/readers/EpubReader2.vue +++ /dev/null @@ -1,88 +0,0 @@ - - - diff --git a/client/components/readers/Reader.vue b/client/components/readers/Reader.vue index 5481f250..c8d5c26b 100644 --- a/client/components/readers/Reader.vue +++ b/client/components/readers/Reader.vue @@ -37,8 +37,7 @@ export default { } }, componentName() { - if (this.ebookType === 'epub' && this.$isDev) return 'readers-epub-reader2' - else if (this.ebookType === 'epub') return 'readers-epub-reader' + if (this.ebookType === 'epub') return 'readers-epub-reader' else if (this.ebookType === 'mobi') return 'readers-mobi-reader' else if (this.ebookType === 'pdf') return 'readers-pdf-reader' else if (this.ebookType === 'comic') return 'readers-comic-reader'