mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-07-08 01:30:28 +08:00
Update localization and add ad and SFW marking
This commit is contained in:
@@ -126,7 +126,7 @@ class Tag {
|
||||
|
||||
@JsonSerializable()
|
||||
class ExtendedPMeta {
|
||||
const ExtendedPMeta({
|
||||
ExtendedPMeta({
|
||||
required this.gid,
|
||||
required this.index,
|
||||
required this.token,
|
||||
@@ -143,9 +143,9 @@ class ExtendedPMeta {
|
||||
final int width;
|
||||
final int height;
|
||||
@JsonKey(name: 'is_nsfw')
|
||||
final bool isNsfw;
|
||||
bool isNsfw;
|
||||
@JsonKey(name: 'is_ad')
|
||||
final bool isAd;
|
||||
bool isAd;
|
||||
|
||||
factory ExtendedPMeta.fromJson(Map<String, dynamic> json) =>
|
||||
_$ExtendedPMetaFromJson(json);
|
||||
|
||||
Reference in New Issue
Block a user