Fix:Comic reader next/prev buttons

This commit is contained in:
advplyr 2023-06-11 11:37:28 -05:00
parent aa82c8a253
commit cb7fb646ba

View File

@ -109,10 +109,10 @@ export default {
return this.comicMetadata ? Object.keys(this.comicMetadata) : [] return this.comicMetadata ? Object.keys(this.comicMetadata) : []
}, },
canGoNext() { canGoNext() {
return this.page < this.numPages - 1 return this.page < this.numPages
}, },
canGoPrev() { canGoPrev() {
return this.page > 0 return this.page > 1
}, },
userMediaProgress() { userMediaProgress() {
if (!this.libraryItemId) return if (!this.libraryItemId) return