Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Commit

Permalink
⚡️ :: coinCount 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
chlgkdms committed Nov 27, 2023
1 parent 9295638 commit 4622e9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ data class MyPageState(
val birth: String,
val profile: String?,
val famousSaying: String,
val coinCount: Long,
) {
companion object {
fun getDefaultState() = MyPageState(
Expand All @@ -14,6 +15,7 @@ data class MyPageState(
birth = "",
profile = "https://github.com/Team-SIGNAL/SIGNAL-ANDROID/blob/develop/presentation/src/main/res/drawable/ic_profile_image.png?raw=true",
famousSaying = "",
coinCount = 0L,
)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class MyPageViewModel(

init {
getFamousSaying()
getUserInformation()
fetchUserInformation()
}

internal fun signOut() {
Expand Down Expand Up @@ -66,6 +66,7 @@ class MyPageViewModel(
phone = phone,
birth = birth,
profile = imageUrl,
coinCount = coinCount,
)
)
}
Expand Down

0 comments on commit 4622e9d

Please sign in to comment.