Skip to content

Commit

Permalink
[MERGE] #464 -> develop
Browse files Browse the repository at this point in the history
[HOTFIX/#464] 투표완료뷰 / 보상형 광고 검증 로직 해제
  • Loading branch information
Marchbreeze authored Aug 6, 2024
2 parents 4ab1777 + 075474c commit 6ac47a7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,14 @@ class PointFragment : BindingFragment<FragmentPointBinding>(R.layout.fragment_po

is UiState.Failure -> {
stopLoadingScreen()
toast(getString(R.string.internet_connection_error_msg))
// toast(getString(R.string.internet_connection_error_msg))
showDoubleConfirm(true)
val originalPoint = voteViewModel.totalPoint
val doubledPoint = originalPoint + voteViewModel.votePointSum
with(binding) {
tvPointMyPoint.text = doubledPoint.toString()
tvPointCurrentPoint.text = doubledPoint.toString()
}
}

is UiState.Loading -> startLoadingScreen()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -351,11 +351,7 @@ class VoteViewModel @Inject constructor(
)
)
.onSuccess { reward ->
if (reward == null) {
_postRewardAdState.value = UiState.Failure(toString())
} else {
_postRewardAdState.value = UiState.Success(reward)
}
_postRewardAdState.value = UiState.Success(reward)
}
.onFailure {
_postRewardAdState.value = UiState.Failure(it.message.orEmpty())
Expand Down
2 changes: 1 addition & 1 deletion build-logic/convention/src/main/kotlin/Constants.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ object Constants {
const val compileSdk = 34
const val minSdk = 28
const val targetSdk = 34
const val versionCode = 51
const val versionCode = 52
const val versionName = "2.2"
const val jvmVersion = "18"
}

0 comments on commit 6ac47a7

Please sign in to comment.