From 305d51ce953d85f04a63c42948eb00f5b9b2d861 Mon Sep 17 00:00:00 2001 From: wow890209 Date: Sun, 19 Nov 2023 21:03:44 +0800 Subject: [PATCH] refactory --- .../quest/listeners/presenters/ClaimMissionRewardPresenter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utopia-gamification/src/main/kotlin/tw/waterballsa/utopia/utopiagamification/quest/listeners/presenters/ClaimMissionRewardPresenter.kt b/utopia-gamification/src/main/kotlin/tw/waterballsa/utopia/utopiagamification/quest/listeners/presenters/ClaimMissionRewardPresenter.kt index 2073f9a0..91c94714 100644 --- a/utopia-gamification/src/main/kotlin/tw/waterballsa/utopia/utopiagamification/quest/listeners/presenters/ClaimMissionRewardPresenter.kt +++ b/utopia-gamification/src/main/kotlin/tw/waterballsa/utopia/utopiagamification/quest/listeners/presenters/ClaimMissionRewardPresenter.kt @@ -22,7 +22,7 @@ class ClaimMissionRewardPresenter : ClaimMissionRewardUsecase.Presenter { ) } - class ViewModel( + data class ViewModel( val message: String, val nextQuestId: Int? )