File tree Expand file tree Collapse file tree 7 files changed +2
-15
lines changed
common/src/main/java/com/hmh/hamyeonham/common/context
viewmodel/main/src/main/java/com/hmh/hamyeonham/core/viewmodel
data/userinfo/src/main/java/com/hmh/hamyeonham/userinfo
domain/userinfo/src/main/java/com/hmh/hamyeonham/userinfo/model
feature/mypage/src/main/res/values Expand file tree Collapse file tree 7 files changed +2
-15
lines changed Original file line number Diff line number Diff line change 11package com.hmh.hamyeonham.common.context
22
33import android.Manifest
4- import android.app.Activity
54import android.app.Dialog
65import android.content.Context
7- import android.content.ContextWrapper
86import android.content.pm.ApplicationInfo
97import android.content.pm.PackageManager
108import android.graphics.Point
Original file line number Diff line number Diff line change @@ -258,9 +258,4 @@ class MainViewModel @Inject constructor(
258258
259259 return items
260260 }
261-
262-
263- companion object {
264- private const val LACK_POINT_ERROR_CODE = 400
265- }
266261}
Original file line number Diff line number Diff line change 1- package com.hmh.hamyeonham.login .mapper
1+ package com.hmh.hamyeonham.userinfo .mapper
22
33import com.hmh.hamyeonham.core.network.mypage.datasource.model.UserInfoResponse
44import com.hmh.hamyeonham.userinfo.model.UserInfo
55
66internal fun UserInfoResponse.toUserInfo (): UserInfo {
77 return UserInfo (
88 name = name,
9- point = point
109 )
1110}
Original file line number Diff line number Diff line change 11package com.hmh.hamyeonham.userinfo.repository
22
33import com.hmh.hamyeonham.core.network.mypage.MyPageService
4- import com.hmh.hamyeonham.login .mapper.toUserInfo
4+ import com.hmh.hamyeonham.userinfo .mapper.toUserInfo
55import com.hmh.hamyeonham.userinfo.model.UserInfo
66import javax.inject.Inject
77
Original file line number Diff line number Diff line change @@ -2,5 +2,4 @@ package com.hmh.hamyeonham.userinfo.model
22
33data class UserInfo (
44 val name : String = " " ,
5- val point : Int = 0
65)
Original file line number Diff line number Diff line change 11<resources >
22 <string name =" mypage_title" >마이페이지</string >
3- <string name =" mypage_point_title" >내 포인트</string >
4- <string name =" mypage_point" >%dP</string >
53 <string name =" mypage_badge_collection" >배지 컬렉션</string >
64 <string name =" mypage_journey" >지금까지의 여정</string >
75 <string name =" mypage_store" >우주 상점</string >
Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ include(":data:userinfo")
3434include(" :data:login" )
3535include(" :data:device" )
3636include(" :data:challenge" )
37- include(" :data:point" )
3837include(" :data:lock" )
3938include(" :data:main" )
4039
@@ -43,7 +42,6 @@ include(":domain:usagestats")
4342include(" :domain:challenge" )
4443include(" :domain:login" )
4544include(" :domain:onboarding" )
46- include(" :domain:point" )
4745include(" :domain:lock" )
4846include(" :domain:main" )
4947
You can’t perform that action at this time.
0 commit comments