라이브 종료 - 방장이 라이브를 종료 했을 때 앱이 죽는 버그 수정
This commit is contained in:
		| @@ -162,14 +162,13 @@ final class LiveRoomViewModel: NSObject, ObservableObject { | ||||
|     } | ||||
|      | ||||
|     func quitRoom() { | ||||
|         let roomId = liveRoomInfo?.roomId | ||||
|         isLoading = true | ||||
|          | ||||
|         if let index = muteSpeakers.firstIndex(of: UInt(UserDefaults.int(forKey: .userId))) { | ||||
|             muteSpeakers.remove(at: index) | ||||
|         } | ||||
|          | ||||
|         repository.quitRoom(roomId: roomId!) | ||||
|         repository.quitRoom(roomId: AppState.shared.roomId) | ||||
|             .sink { result in | ||||
|                 switch result { | ||||
|                 case .finished: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Yu Sung
					Yu Sung