修复tag原文显示问题

更新依赖
This commit is contained in:
2024-05-24 14:42:18 +08:00
parent ebccce7f3d
commit c9d5d965ad
15 changed files with 128 additions and 115 deletions

View File

@@ -12,12 +12,12 @@ Config _$ConfigFromJson(Map<String, dynamic> json) => Config(
ua: json['ua'] as String?,
ex: json['ex'] as bool,
base: json['base'] as String,
maxTaskCount: json['max_task_count'] as int,
maxTaskCount: (json['max_task_count'] as num).toInt(),
mpv: json['mpv'] as bool,
maxRetryCount: json['max_retry_count'] as int,
maxDownloadImgCount: json['max_download_img_count'] as int,
maxRetryCount: (json['max_retry_count'] as num).toInt(),
maxDownloadImgCount: (json['max_download_img_count'] as num).toInt(),
downloadOriginalImg: json['download_original_img'] as bool,
port: json['port'] as int,
port: (json['port'] as num).toInt(),
exportZipJpnTitle: json['export_zip_jpn_title'] as bool,
hostname: json['hostname'] as String,
meiliHost: json['meili_host'] as String?,
@@ -36,13 +36,13 @@ Config _$ConfigFromJson(Map<String, dynamic> json) => Config(
.map((e) => e as String)
.toList(),
flutterFrontend: json['flutter_frontend'] as String?,
fetchTimeout: json['fetch_timeout'] as int,
downloadTimeout: json['download_timeout'] as int,
fetchTimeout: (json['fetch_timeout'] as num).toInt(),
downloadTimeout: (json['download_timeout'] as num).toInt(),
ffprobePath: json['ffprobe_path'] as String,
redirectToFlutter: json['redirect_to_flutter'] as bool,
downloadTimeoutCheckInterval:
json['download_timeout_check_interval'] as int,
ehMetadataCacheTime: json['eh_metadata_cache_time'] as int,
(json['download_timeout_check_interval'] as num).toInt(),
ehMetadataCacheTime: (json['eh_metadata_cache_time'] as num).toInt(),
randomFileSecret: json['random_file_secret'] as String?,
);
@@ -102,12 +102,12 @@ ConfigOptional _$ConfigOptionalFromJson(Map<String, dynamic> json) =>
ua: json['ua'] as String?,
ex: json['ex'] as bool?,
base: json['base'] as String?,
maxTaskCount: json['max_task_count'] as int?,
maxTaskCount: (json['max_task_count'] as num?)?.toInt(),
mpv: json['mpv'] as bool?,
maxRetryCount: json['max_retry_count'] as int?,
maxDownloadImgCount: json['max_download_img_count'] as int?,
maxRetryCount: (json['max_retry_count'] as num?)?.toInt(),
maxDownloadImgCount: (json['max_download_img_count'] as num?)?.toInt(),
downloadOriginalImg: json['download_original_img'] as bool?,
port: json['port'] as int?,
port: (json['port'] as num?)?.toInt(),
exportZipJpnTitle: json['export_zip_jpn_title'] as bool?,
hostname: json['hostname'] as String?,
meiliHost: json['meili_host'] as String?,
@@ -126,13 +126,13 @@ ConfigOptional _$ConfigOptionalFromJson(Map<String, dynamic> json) =>
?.map((e) => e as String)
.toList(),
flutterFrontend: json['flutter_frontend'] as String?,
fetchTimeout: json['fetch_timeout'] as int?,
downloadTimeout: json['download_timeout'] as int?,
fetchTimeout: (json['fetch_timeout'] as num?)?.toInt(),
downloadTimeout: (json['download_timeout'] as num?)?.toInt(),
ffprobePath: json['ffprobe_path'] as String?,
redirectToFlutter: json['redirect_to_flutter'] as bool?,
downloadTimeoutCheckInterval:
json['download_timeout_check_interval'] as int?,
ehMetadataCacheTime: json['eh_metadata_cache_time'] as int?,
(json['download_timeout_check_interval'] as num?)?.toInt(),
ehMetadataCacheTime: (json['eh_metadata_cache_time'] as num?)?.toInt(),
randomFileSecret: json['random_file_secret'] as String?,
);