mod: dyn author panel

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-27 21:46:44 +08:00
parent c5877b7c5e
commit 7f3f7f6bdd
2 changed files with 182 additions and 159 deletions

View File

@@ -143,6 +143,7 @@ class ModuleAuthorModel {
String? type;
Map? vip;
Map? decorate;
// Map? pendant;
ModuleAuthorModel.fromJson(Map<String, dynamic> json) {
face = json['face'];
@@ -156,7 +157,10 @@ class ModuleAuthorModel {
pubTs = json['pub_ts'] == 0 ? null : json['pub_ts'];
type = json['type'];
vip = json['vip'];
if (showDynDecorate) decorate = json['decorate'];
if (showDynDecorate) {
decorate = json['decorate'];
// pendant = json['pendant'];
}
}
static bool showDynDecorate = GStorage.showDynDecorate;