Skip to content

Commit

Permalink
ktlint check
Browse files Browse the repository at this point in the history
  • Loading branch information
taewooyo committed Apr 30, 2024
1 parent c157bce commit 378cfb5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import java.time.format.DateTimeFormatter
fun OnLifecycleEvent(
onEvent: (
owner: LifecycleOwner,
event: Lifecycle.Event,
event: Lifecycle.Event
) -> Unit
) {
val eventHandler = rememberUpdatedState(onEvent)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import tht.feature.chat.model.ChatListUiModel
import javax.inject.Inject

@HiltViewModel
internal class ChatDetailViewModel @Inject constructor(
) : ViewModel(), Container<ChatDetailState, ChatDetailSideEffect> {
internal class ChatDetailViewModel @Inject constructor() :
ViewModel(), Container<ChatDetailState, ChatDetailSideEffect> {
override val store: Store<ChatDetailState, ChatDetailSideEffect> =
store(
initialState = ChatDetailState.ChatList(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ internal class ChatViewModel @Inject constructor(
partnerProfileUrl = "",
currentMessage = "안녕",
messageTime = "2020.08.08"
), ChatListModel(
),
ChatListModel(
chatRoomIdx = 4L,
partnerName = "최웅재",
partnerProfileUrl = "",
Expand Down

0 comments on commit 378cfb5

Please sign in to comment.