diff --git a/app/src/main/java/org/sopt/official/feature/attendance/AttendanceViewModel.kt b/app/src/main/java/org/sopt/official/feature/attendance/AttendanceViewModel.kt index 72c2b416e..43758531e 100644 --- a/app/src/main/java/org/sopt/official/feature/attendance/AttendanceViewModel.kt +++ b/app/src/main/java/org/sopt/official/feature/attendance/AttendanceViewModel.kt @@ -5,7 +5,6 @@ import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.map import androidx.lifecycle.viewModelScope -import org.sopt.official.core.lifecycle.combineWith import dagger.hilt.android.lifecycle.HiltViewModel import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.coroutines.flow.StateFlow @@ -240,7 +239,7 @@ class AttendanceViewModel @Inject constructor( setProgressBarState { copy(isThirdProgressBarBeforeAttendance = isBeforeAttendance) } } - fun fetchAttendanceHistory() { + private fun fetchAttendanceHistory() { viewModelScope.launch { _attendanceHistory.value = AttendanceState.Loading attendanceRepository.fetchAttendanceHistory() diff --git a/core/src/main/java/org/sopt/official/core/lifecycle/FragmentLifecycleOwner.kt b/core/common/src/main/java/org/sopt/official/common/lifecycle/FragmentLifecycleOwner.kt similarity index 100% rename from core/src/main/java/org/sopt/official/core/lifecycle/FragmentLifecycleOwner.kt rename to core/common/src/main/java/org/sopt/official/common/lifecycle/FragmentLifecycleOwner.kt diff --git a/core/src/main/java/org/sopt/official/core/lifecycle/LiveData.kt b/core/common/src/main/java/org/sopt/official/common/lifecycle/LiveData.kt similarity index 100% rename from core/src/main/java/org/sopt/official/core/lifecycle/LiveData.kt rename to core/common/src/main/java/org/sopt/official/common/lifecycle/LiveData.kt