mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 07:47:24 +00:00
fix getImages
This commit is contained in:
@@ -364,8 +364,9 @@ class LocalManager with ChangeNotifier {
|
||||
var files = <File>[];
|
||||
await for (var entity in directory.list()) {
|
||||
if (entity is File) {
|
||||
if (entity.absolute.path.replaceFirst(path, '').substring(1) ==
|
||||
comic.cover) {
|
||||
// Do not exclude comic.cover, since it may be the first page of the chapter.
|
||||
// A file with name starting with 'cover.' is not a comic page.
|
||||
if (entity.name.startsWith('cover.')) {
|
||||
continue;
|
||||
}
|
||||
//Hidden file in some file system
|
||||
|
Reference in New Issue
Block a user