Skip to content

Commit

Permalink
Refactor: Init Intent 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
Guri999 committed Jan 8, 2025
1 parent 2635c21 commit 225cf6a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion feature/recent/src/main/java/kr/co/model/RecentUiIntent.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ package kr.co.model
import kr.co.ui.base.UiIntent

internal sealed interface RecentUiIntent: UiIntent {
data object Init : RecentUiIntent
data class ClickFile(val file: FileInfo) : RecentUiIntent
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ internal class RecentViewModel(

override fun handleIntent(intent: RecentUiIntent) {
when (intent) {
is RecentUiIntent.Init -> {}
is RecentUiIntent.ClickFile -> { onClickFile(intent.file) }
}
}
Expand Down

0 comments on commit 225cf6a

Please sign in to comment.