From 468a4d764cf763e71d4915b8cb37d0d84ae4a357 Mon Sep 17 00:00:00 2001 From: lunaticbum Date: Mon, 16 Nov 2026 13:40:18 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20CompletedFilesActivity=20=EB=AF=B8?= =?UTF-8?q?=EC=82=AC=EC=9A=A9=20import=20=EC=A0=95=EB=A6=AC=20=EB=B0=8F=20?= =?UTF-8?q?=EC=A7=84=ED=96=89=EC=A4=91=20=ED=8F=B4=EB=8D=94=20=ED=86=A0?= =?UTF-8?q?=EA=B8=80=20=EB=B2=84=ED=8A=BC=20=EB=A0=88=EC=9D=B4=EC=95=84?= =?UTF-8?q?=EC=9B=83=20=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - app/src/main/kotlin/bums/lunatic/launcher/home/CompletedFilesActivity.kt: MlKitTranslationHelper 분리 이후 미사용 상태인 ML Kit import 4건 제거 및 lifecycleScope import 순서 정리 - app/src/main/res/layout/fragment_completed_files.xml: CompletedFilesActivity.kt(823~849행)에서 참조하는 btnToggleTempDir("진행중 폴더") 토글 버튼 레이아웃 추가 - buildSrc/build.gradle.kts: 임시 주석 처리되어 있던 JVM target 17 설정 원복 - 검증: ./gradlew :app:compileDebugKotlin 빌드 성공 확인 (1m, 133 actionable tasks) --- .../lunatic/launcher/home/CompletedFilesActivity.kt | 6 +----- app/src/main/res/layout/fragment_completed_files.xml | 12 ++++++++++++ 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/app/src/main/kotlin/bums/lunatic/launcher/home/CompletedFilesActivity.kt b/app/src/main/kotlin/bums/lunatic/launcher/home/CompletedFilesActivity.kt index b8219f43..c600c526 100644 --- a/app/src/main/kotlin/bums/lunatic/launcher/home/CompletedFilesActivity.kt +++ b/app/src/main/kotlin/bums/lunatic/launcher/home/CompletedFilesActivity.kt @@ -32,8 +32,8 @@ import android.widget.Toast import androidx.activity.OnBackPressedCallback import androidx.activity.result.contract.ActivityResultContracts import androidx.appcompat.app.AppCompatActivity -import androidx.lifecycle.lifecycleScope import androidx.core.content.FileProvider +import androidx.lifecycle.lifecycleScope import androidx.recyclerview.widget.GridLayoutManager import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.RecyclerView @@ -44,10 +44,6 @@ import bums.lunatic.launcher.utils.FileUtils.readTextWithEncoding import com.bumptech.glide.Glide import com.google.android.material.bottomsheet.BottomSheetBehavior import com.google.android.material.bottomsheet.BottomSheetDialog -import com.google.mlkit.nl.languageid.LanguageIdentification -import com.google.mlkit.nl.translate.TranslateLanguage -import com.google.mlkit.nl.translate.Translation -import com.google.mlkit.nl.translate.TranslatorOptions import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.Job diff --git a/app/src/main/res/layout/fragment_completed_files.xml b/app/src/main/res/layout/fragment_completed_files.xml index 917f644f..23e72e8b 100644 --- a/app/src/main/res/layout/fragment_completed_files.xml +++ b/app/src/main/res/layout/fragment_completed_files.xml @@ -26,6 +26,18 @@ android:textSize="20sp" android:textStyle="bold" android:padding="16dp"/> +