From 3c5dadf49439181120e57e366bbd7788d5cfe955 Mon Sep 17 00:00:00 2001 From: kimyujin-com <80165026+kimyujin-com@users.noreply.github.com> Date: Tue, 20 Feb 2024 18:37:46 +0900 Subject: [PATCH] =?UTF-8?q?Remove:=20=EC=BB=A4=EB=A6=AC=EC=96=B4=20?= =?UTF-8?q?=EB=B6=88=ED=95=84=EC=9A=94=20=EC=BD=94=EB=93=9C=20=EC=82=AD?= =?UTF-8?q?=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ui/career/viewmodel/CareerEditCertificateViewModel.kt | 4 ---- .../project/ui/career/viewmodel/CareerEditContestViewModel.kt | 4 ---- .../ui/career/viewmodel/CareerEditVolunteerViewModel.kt | 4 ---- 3 files changed, 12 deletions(-) diff --git a/app/src/main/java/umc/com/mobile/project/ui/career/viewmodel/CareerEditCertificateViewModel.kt b/app/src/main/java/umc/com/mobile/project/ui/career/viewmodel/CareerEditCertificateViewModel.kt index 20f51d0..4b6f3e4 100644 --- a/app/src/main/java/umc/com/mobile/project/ui/career/viewmodel/CareerEditCertificateViewModel.kt +++ b/app/src/main/java/umc/com/mobile/project/ui/career/viewmodel/CareerEditCertificateViewModel.kt @@ -57,10 +57,6 @@ class CareerEditCertificateViewModel : ViewModel() { return !title.value.isNullOrBlank() || !type.value.isNullOrBlank() || !startDate.value.isNullOrBlank() || !endDate.value.isNullOrBlank() } - private fun isDateValid(date: String?): Boolean { - return date.isNullOrBlank() || date.length == 8 - } - fun updateCertificateType(selectedType: String) { type.value = selectedType } diff --git a/app/src/main/java/umc/com/mobile/project/ui/career/viewmodel/CareerEditContestViewModel.kt b/app/src/main/java/umc/com/mobile/project/ui/career/viewmodel/CareerEditContestViewModel.kt index 8bd6c79..0083373 100644 --- a/app/src/main/java/umc/com/mobile/project/ui/career/viewmodel/CareerEditContestViewModel.kt +++ b/app/src/main/java/umc/com/mobile/project/ui/career/viewmodel/CareerEditContestViewModel.kt @@ -57,10 +57,6 @@ class CareerEditContestViewModel : ViewModel() { return !title.value.isNullOrBlank() || !award.value.isNullOrBlank() || !startDate.value.isNullOrBlank() || !endDate.value.isNullOrBlank() } - private fun isDateValid(date: String?): Boolean { - return date.isNullOrBlank() || date.length == 8 - } - fun updateSelectedAward(selectedAward: String) { award.value = selectedAward } diff --git a/app/src/main/java/umc/com/mobile/project/ui/career/viewmodel/CareerEditVolunteerViewModel.kt b/app/src/main/java/umc/com/mobile/project/ui/career/viewmodel/CareerEditVolunteerViewModel.kt index 07fccca..cad2f85 100644 --- a/app/src/main/java/umc/com/mobile/project/ui/career/viewmodel/CareerEditVolunteerViewModel.kt +++ b/app/src/main/java/umc/com/mobile/project/ui/career/viewmodel/CareerEditVolunteerViewModel.kt @@ -57,10 +57,6 @@ class CareerEditVolunteerViewModel : ViewModel() { return !title.value.isNullOrBlank() || !hour.value.isNullOrBlank() || !startDate.value.isNullOrBlank() || !endDate.value.isNullOrBlank() } - private fun isDateValid(date: String?): Boolean { - return date.isNullOrBlank() || date.length == 8 - } - private val careerApiService = ApiClient.createService() private val _volunteerDetailInfo: MutableLiveData = MutableLiveData()