feat(arena): 아레나 화면 및 위젯 개선

- 장비 비교 리스트 UI 개선
- 결과 패널/다이얼로그 업데이트
- 설정 화면 개선
This commit is contained in:
JiWoong Sul
2026-01-07 20:21:54 +09:00
parent 699ae3b7f3
commit 6667de56d3
4 changed files with 196 additions and 70 deletions

View File

@@ -243,9 +243,15 @@ class _ArenaResultPanelState extends State<ArenaResultPanel>
}
Widget _buildExchangeSection(BuildContext context) {
final slot = widget.result.match.bettingSlot;
final isVictory = widget.result.isVictory;
// 승패에 따라 교환 슬롯 결정
// 승리: 도전자가 선택한 슬롯(상대에게서 약탈)
// 패배: 상대가 선택한 슬롯(도전자에게서 약탈당함)
final slot = isVictory
? widget.result.match.challengerBettingSlot
: widget.result.match.opponentBettingSlot;
// 도전자의 교환 결과
final oldItem = _findItem(
widget.result.match.challenger.finalEquipment,