Skip to content

Commit

Permalink
[add] #71 test value 0
Browse files Browse the repository at this point in the history
  • Loading branch information
Jokwanhee committed Jan 19, 2024
1 parent 1590896 commit e611362
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import sopt.motivoo.domain.entity.home.MissionChoiceData
import sopt.motivoo.util.Constants.USERS
import sopt.motivoo.util.binding.BindingFragment
import sopt.motivoo.util.extension.setVisible
import timber.log.Timber
import javax.inject.Inject

@AndroidEntryPoint
Expand Down Expand Up @@ -82,6 +83,7 @@ class HomeFragment : BindingFragment<FragmentHomeBinding>(R.layout.fragment_home
// Firebase.database.reference.child(USERS).child(pref.otherId.toString()).setValue(0) // TODO:: 상대 걸음 수 초기화

if (homePermissionsGranted()) {
Timber.tag("로그").e("has perm in activity")
startStepCountService()
binding.motivooStepCountText.setMyStepCountText(pref.myStepCount.toString())
}
Expand Down Expand Up @@ -418,10 +420,8 @@ class HomeFragment : BindingFragment<FragmentHomeBinding>(R.layout.fragment_home
const val STEP_COUNT = "step_count"
const val PACKAGE = "package"

const val MY_GOAL = 4950
const val OTHER_GOAL = 12950
// const val MY_GOAL = 12950
// const val OTHER_GOAL = 4950
const val MY_GOAL = 0
const val OTHER_GOAL = 0

private val HOME_REQUIRED_PERMISSIONS =
mutableListOf<String>().apply {
Expand Down

0 comments on commit e611362

Please sign in to comment.