This commit is contained in:
frozenKelp
2026-06-09 19:16:10 +05:30
7 changed files with 25 additions and 15 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ class ReaderState {
addBookmark(entry: Omit<BookmarkEntry, "savedAt">) {
this.bookmarks = [
{ ...entry, savedAt: Date.now() },
...this.bookmarks.filter(b => b.chapterId !== entry.chapterId),
...this.bookmarks.filter(b => b.mangaId !== entry.mangaId),
].slice(0, 200);
}