mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-07-08 01:30:28 +08:00
Update task manager
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
import 'api_result.dart';
|
||||
import '../globals.dart';
|
||||
|
||||
part 'eh.g.dart';
|
||||
|
||||
@@ -75,6 +76,12 @@ class GalleryMetadataSingle {
|
||||
factory GalleryMetadataSingle.fromJson(Map<String, dynamic> json) =>
|
||||
_$GalleryMetadataSingleFromJson(json);
|
||||
Map<String, dynamic> toJson() => _$GalleryMetadataSingleToJson(this);
|
||||
|
||||
String get preferredTitle => prefs.getBool("useTitleJpn") == true
|
||||
? titleJpn.isEmpty
|
||||
? title
|
||||
: titleJpn
|
||||
: title;
|
||||
}
|
||||
|
||||
class EHMetaInfo {
|
||||
|
||||
Reference in New Issue
Block a user