From 225cf6abcb277212edc4bd1f22085238db422e3a Mon Sep 17 00:00:00 2001 From: Guri999 <116724657+Guri999@users.noreply.github.com> Date: Wed, 8 Jan 2025 23:43:45 +0900 Subject: [PATCH] =?UTF-8?q?Refactor:=20Init=20Intent=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- feature/recent/src/main/java/kr/co/model/RecentUiIntent.kt | 1 - feature/recent/src/main/java/kr/co/recent/RecentViewModel.kt | 1 - 2 files changed, 2 deletions(-) diff --git a/feature/recent/src/main/java/kr/co/model/RecentUiIntent.kt b/feature/recent/src/main/java/kr/co/model/RecentUiIntent.kt index dac4e92..051739d 100644 --- a/feature/recent/src/main/java/kr/co/model/RecentUiIntent.kt +++ b/feature/recent/src/main/java/kr/co/model/RecentUiIntent.kt @@ -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 } \ No newline at end of file diff --git a/feature/recent/src/main/java/kr/co/recent/RecentViewModel.kt b/feature/recent/src/main/java/kr/co/recent/RecentViewModel.kt index 0cdc31e..e8517df 100644 --- a/feature/recent/src/main/java/kr/co/recent/RecentViewModel.kt +++ b/feature/recent/src/main/java/kr/co/recent/RecentViewModel.kt @@ -15,7 +15,6 @@ internal class RecentViewModel( override fun handleIntent(intent: RecentUiIntent) { when (intent) { - is RecentUiIntent.Init -> {} is RecentUiIntent.ClickFile -> { onClickFile(intent.file) } } }