Skip to content

Commit

Permalink
[fix/#118] interest 수정 오류
Browse files Browse the repository at this point in the history
  • Loading branch information
Mnseo committed Jan 31, 2024
1 parent 4622123 commit 9bcfc8c
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ dependencies {
implementation(libs.androidx.appCompat)
implementation(libs.materialDesign)
implementation(libs.androidx.constraintLayout)
implementation(libs.google.oss.plugin)
implementation(libs.play.services.location)
}
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ class SettingFragment: BindingFragment<FragmentSettingBinding>(R.layout.fragment
}
SettingStatus.ERROR -> {
requireActivity().defaultToast("서버 통신 에러")
}
SettingStatus.OPENSOURCE -> {

}
else -> {}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,8 @@ fun getMemberSetting(viewModel: SettingViewModel, navController: NavController):
return listOf(
SettingUiItem(title = "약관 및 개인정보 처리 동의", onClick = { navController.navigate(R.id.fragment_service) }),
SettingUiItem(title = "탈퇴하기", onClick = { navController.navigate(R.id.fragment_signout) }),
SettingUiItem(title = "로그아웃", onClick = { viewModel.updateSettingStatus(SettingStatus.LOGOUT) })
SettingUiItem(title = "로그아웃", onClick = { viewModel.updateSettingStatus(SettingStatus.LOGOUT) }),
SettingUiItem(title = "오픈소스", onClick = {viewModel.updateSettingStatus(SettingStatus.OPENSOURCE)})
)
}

Expand All @@ -279,8 +280,7 @@ fun getServiceGuide(): List<SettingUiItem> {

enum class SettingStatus {
LOGOUT, LOGOUT_CONFIRM, SIGNOUT,
DEFAULT, NOTION, ERROR, SETTING,
CANCEL, RECOMMEND, RECOMMEND_DETAIL
DEFAULT, NOTION, ERROR, OPENSOURCE
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@ class GetInterestFragment:
checkValidInput()
}

val callback = object : OnBackPressedCallback(true) {
override fun handleOnBackPressed() {
handleBackPress()
}
}
private fun makeChip(interest: String): Chip {
val chipDrawable = ChipDrawable.createFromAttributes(
requireContext(),
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified build-logic/convention/build/libs/convention.jar
Binary file not shown.
2 changes: 2 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ google-services-plugin = { group = "com.google.gms", name = "google-services", v
#google-crashlytics-gradle = { group = "com.google.firebase", name = "firebase-crashlytics-gradle", version.ref = "googleCrashlyticsPlguin" }
play-services-location = { group = "com.google.android.gms", name = "play-services-location", version = "21.0.1" }



navigation-plugin = { group = "androidx.navigation", name = "navigation-safe-args-gradle-plugin", version.ref = "navigationVersion" }

# Kotlin
Expand Down

0 comments on commit 9bcfc8c

Please sign in to comment.