fix(reward): 为 ExpiredRewardItem 添加 rightTypeName getter 别名

解决 profile_page.dart 编译错误:
- 添加 rightTypeName getter 作为 allocationTypeName 的别名
- 保持与 PendingRewardItem/SettleableRewardItem 的接口一致

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2025-12-17 08:09:11 -08:00
parent d565bb91fa
commit a5d5f78f17
1 changed files with 3 additions and 0 deletions

View File

@ -136,6 +136,9 @@ class ExpiredRewardItem {
///
String get allocationTypeName => getAllocationTypeName(allocationType);
/// PendingRewardItem/SettleableRewardItem
String get rightTypeName => allocationTypeName;
}
/// ( reward-service )