mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 15:57:25 +00:00
Do not switch chapters if the current chapter is the first or last chapter in the chapter group.
This commit is contained in:
@@ -381,7 +381,7 @@ class ComicChapters {
|
||||
return _groupedChapters!.values.elementAt(index);
|
||||
}
|
||||
|
||||
/// Get a chapter by index
|
||||
/// Get total number of chapters
|
||||
int get length {
|
||||
return isGrouped
|
||||
? _groupedChapters!.values.map((e) => e.length).reduce((a, b) => a + b)
|
||||
|
Reference in New Issue
Block a user