라이브 새로고침 - 이전과 동일하게 전체로 수정
This commit is contained in:
		| @@ -44,7 +44,7 @@ struct LiveView: View { | ||||
|                                     AppState.shared.setAppStep(step: .createLive(timeSettingMode: .NOW, onSuccess: onCreateSuccess)) | ||||
|                                 }, | ||||
|                                 onClickRefresh: { | ||||
|                                     viewModel.refreshLiveNow() | ||||
|                                     viewModel.getSummary() | ||||
|                                 } | ||||
|                             ) | ||||
|                              | ||||
|   | ||||
| @@ -457,14 +457,6 @@ final class LiveViewModel: ObservableObject { | ||||
|         } | ||||
|     } | ||||
|      | ||||
|     func refreshLiveNow() { | ||||
|         page = 1 | ||||
|         isLast = false | ||||
|          | ||||
|         self.liveNowItems.removeAll() | ||||
|         getLiveNowList() | ||||
|     } | ||||
|      | ||||
|     private func getRoomDetail(roomId: Int, onSuccess: @escaping (GetRoomDetailResponse) -> Void) { | ||||
|         isLoading = true | ||||
|         repository.getRoomDetail(roomId: roomId) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Yu Sung
					Yu Sung