Skip to content

Commit 5e368df

Browse files
committed
networkDisconnectdCount 갱신하는 로직 추가
왜? uistate combine 타이밍에 갱신을 안하고 있었음 정상 동작하도록 수정함
1 parent 24c4215 commit 5e368df

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • presentation/src/main/java/com/nextroom/nextroom/presentation/ui/hint

presentation/src/main/java/com/nextroom/nextroom/presentation/ui/hint/HintViewModel.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ class HintViewModel @AssistedInject constructor(
2929
state.copy(
3030
hint = gameSharedState.currentHint ?: state.hint,
3131
userSubscribeStatus = gameSharedState.subscribeStatus,
32+
networkDisconnectedCount = state.networkDisconnectedCount,
3233
isHintOpened = (gameSharedState.currentHint?.id ?: state.hint.id) in gameSharedState.openedHintIds,
3334
isAnswerOpened = (gameSharedState.currentHint?.id ?: state.hint.id) in gameSharedState.openedAnswerIds,
3435
totalHintCount = gameSharedState.totalHintCount

0 commit comments

Comments
 (0)