mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-23 04:00:28 +08:00
@@ -629,7 +629,7 @@ class Vote {
|
||||
Vote.fromJson(Map<String, dynamic> json) {
|
||||
joinNum = Utils.safeToInt(json['join_num']);
|
||||
voteId = Utils.safeToInt(json['vote_id']);
|
||||
title = json['title'];
|
||||
title = _parseString(json['title']) ?? _parseString(json['desc']);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user