Skip to content

Commit

Permalink
Merge pull request #96 from FOR-GRAD/14-커리어
Browse files Browse the repository at this point in the history
14 커리어
  • Loading branch information
kimyujin-com authored Feb 18, 2024
2 parents 2b42d91 + f428c94 commit b047dbc
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class GradDateFragment : Fragment() {
val date = originalFormat.parse(dateString)
val formattedDate = targetFormat.format(date)
viewModel.updateDateInfo(formattedDate)
Toast.makeText(context, "저장되었습니다.", Toast.LENGTH_LONG).show()
//Toast.makeText(context, "저장되었습니다.", Toast.LENGTH_LONG).show()
navigate(R.id.action_fragment_date_to_fragment_home)
viewModel.onEditButtonClick()
} catch (e: ParseException) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,6 @@ class GradDateViewModel : ViewModel() {
val formattedDate = targetFormat.format(date)
_selectedDateRequest.value = formattedDate
}
if (_dateResponse2.value != null && _dateResponse2.value!!.result != null) {
_selectedDate.value = _dateResponse2.value!!.result.gradDate
}
Log.d("gradDate", "${response.body()}")
} else {
_error.postValue("서버 응답이 올바르지 않습니다.")
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/fragment_career.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".ui.setting.SettingFragment">
tools:context="ui.career.CareerFragment">

<androidx.appcompat.widget.LinearLayoutCompat
android:layout_width="match_parent"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/fragment_grad_date.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".ui.setting.SettingFragment">
tools:context=".ui.board.GradDateFragment">

<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
Expand Down

0 comments on commit b047dbc

Please sign in to comment.