mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-07-08 01:30:28 +08:00
Add NSFW marking functionality
This commit is contained in:
@@ -162,6 +162,7 @@ class GalleryData {
|
||||
final GMeta meta;
|
||||
final List<Tag> tags;
|
||||
final List<ExtendedPMeta> pages;
|
||||
bool get isAllNsfw => pages.every((page) => page.isNsfw);
|
||||
|
||||
factory GalleryData.fromJson(Map<String, dynamic> json) =>
|
||||
_$GalleryDataFromJson(json);
|
||||
|
||||
Reference in New Issue
Block a user