diff --git a/feature/board/src/main/java/com/goalpanzi/mission_mate/feature/board/screen/BoardViewModel.kt b/feature/board/src/main/java/com/goalpanzi/mission_mate/feature/board/screen/BoardViewModel.kt index 3c08007..a010414 100644 --- a/feature/board/src/main/java/com/goalpanzi/mission_mate/feature/board/screen/BoardViewModel.kt +++ b/feature/board/src/main/java/com/goalpanzi/mission_mate/feature/board/screen/BoardViewModel.kt @@ -132,9 +132,11 @@ class BoardViewModel @Inject constructor( fun fetchMissionData() { viewModelScope.launch { - getMissionBoards() - getMission() - getMissionVerification() + joinAll( + launch { getMission() }, + launch { getMissionVerification() }, + launch { getMissionBoards() } + ) } } @@ -142,9 +144,9 @@ class BoardViewModel @Inject constructor( viewModelScope.launch { _isRefreshLoading.emit(true) joinAll( - launch { getMissionBoards() }, launch { getMission() }, - launch { getMissionVerification() } + launch { getMissionVerification() }, + launch { getMissionBoards() } ) _isRefreshLoading.emit(false) }