Skip to content

Commit

Permalink
chore: ktlint, detekt
Browse files Browse the repository at this point in the history
  • Loading branch information
jinukeu committed Jan 30, 2024
1 parent a2819df commit 33842ea
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class CreateSentEnvelopeUseCase @Inject constructor(
hasVisited = hasVisited,
handedOverAt = handedOverAt,
categoryId = category.id.toLong(),
customCategory = category.customCategory
customCategory = category.customCategory,
)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ class EnvelopeAddViewModel @Inject constructor(
memo = memo,
handedOverAt = date!!.toKotlinLocalDateTime(),
hasVisited = hasVisited,
category = category!!
)
category = category!!,
),
).onSuccess {
postSideEffect(EnvelopeAddEffect.PopBackStack)
}.onFailure {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.susu.feature.envelopeadd.content.more

import androidx.annotation.StringRes
import com.susu.core.ui.base.SideEffect
import com.susu.core.ui.base.UiState
import com.susu.feature.envelopeadd.EnvelopeAddStep
Expand All @@ -23,4 +22,3 @@ val moreStep = persistentMapOf(
sealed interface MoreSideEffect : SideEffect {
data class UpdateParentMoreStep(val moreStep: List<EnvelopeAddStep>) : MoreSideEffect
}

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import com.susu.domain.usecase.friend.SearchFriendUseCase
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.collections.immutable.persistentListOf
import kotlinx.collections.immutable.toPersistentList
import kotlinx.coroutines.delay
import kotlinx.coroutines.launch
import javax.inject.Inject

Expand Down

0 comments on commit 33842ea

Please sign in to comment.