mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-02 19:05:32 -04:00
Fix Continue Reading not show missed reading chapter if the latest chapter mark as read
This commit is contained in:
parent
2d97faa7c0
commit
d9dce4a881
@ -632,6 +632,15 @@ class Title
|
||||
|
||||
if last_read_entry && last_read_entry.finished? username
|
||||
last_read_entry = last_read_entry.next_entry username
|
||||
# Get the last read entry in greedy
|
||||
if last_read_entry.nil?
|
||||
sorted_entries(username).each do |e|
|
||||
unless e.finished? username
|
||||
last_read_entry = e
|
||||
break
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
last_read_entry
|
||||
|
Loading…
x
Reference in New Issue
Block a user