AI 接入 V1.0
UI更新
This commit is contained in:
@@ -68,7 +68,7 @@ class CategoryStat {
|
||||
factory CategoryStat.fromJson(Map<String, dynamic> json) => CategoryStat(
|
||||
categoryId: asInt(json['categoryId']),
|
||||
categoryName: asNonEmpty(json['categoryName'], '未分类'),
|
||||
categoryIcon: asNonEmpty(json['categoryIcon'], '📦'),
|
||||
categoryIcon: asNonEmpty(json['categoryIcon'], 'other'),
|
||||
amount: asDouble(json['amount']),
|
||||
type: asInt(json['type'], fallback: 1) == 2 ? 2 : 1,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user