퀘스트 제목 다국어 · HOME 다시 읽기 · 내 퀘스트 검토 중·반려됨 구분
This commit is contained in:
@@ -232,7 +232,14 @@ class QuestCardTile extends StatelessWidget {
|
||||
height: 1,
|
||||
),
|
||||
),
|
||||
child: Text(card.stage.buttonLabel),
|
||||
// 내가 만든 Quest 가 검수 중 · 반려면 「자세히」 자리에 상태를 적는다(누르면 상세).
|
||||
child: Text(switch (card) {
|
||||
QuestCard(stage: QuestStage.mine, publishState: 'review') =>
|
||||
context.l10n.questReviewButton,
|
||||
QuestCard(stage: QuestStage.mine, publishState: 'rejected') =>
|
||||
context.l10n.questRejectedButton,
|
||||
_ => card.stage.buttonLabel,
|
||||
}),
|
||||
),
|
||||
],
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user