Skip to content

Commit

Permalink
[FIX]#182 : 쪽지 진입시, 시간대에 맞는 로띠 노출되도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jeongjaino committed Oct 3, 2024
1 parent a19b9c5 commit 84bb8e0
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@ class MessageViewModel @Inject constructor(
messageReceiveTime = remoteConfigRepository.fetchFromRemoteConfig(
RemoteConfigKey.MESSAGE_RECEIVE_TIME,
),
),
).let { state ->
state.copy(
timePeriod = getCurrentTimePeriod(state.messageStartTime, state.messageReceiveTime),
)
},
)

private val _remainingTimeMillis: MutableStateFlow<Long> = MutableStateFlow(0)
Expand Down

0 comments on commit 84bb8e0

Please sign in to comment.