From 9a564e3e1158e63b4a987c73496fc0458ee0e4bc Mon Sep 17 00:00:00 2001 From: T8RIN Date: Thu, 12 Sep 2024 20:22:23 +0300 Subject: [PATCH] Added Noise generator by #948 --- .../presentation/viewModel/NoiseGenerationViewModel.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/feature/noise-generation/src/main/java/ru/tech/imageresizershrinker/noise_generation/presentation/viewModel/NoiseGenerationViewModel.kt b/feature/noise-generation/src/main/java/ru/tech/imageresizershrinker/noise_generation/presentation/viewModel/NoiseGenerationViewModel.kt index 806f03d86c..074f05ef4b 100644 --- a/feature/noise-generation/src/main/java/ru/tech/imageresizershrinker/noise_generation/presentation/viewModel/NoiseGenerationViewModel.kt +++ b/feature/noise-generation/src/main/java/ru/tech/imageresizershrinker/noise_generation/presentation/viewModel/NoiseGenerationViewModel.kt @@ -28,7 +28,6 @@ import dagger.hilt.android.lifecycle.HiltViewModel import kotlinx.coroutines.Job import ru.tech.imageresizershrinker.core.domain.dispatchers.DispatchersHolder import ru.tech.imageresizershrinker.core.domain.image.ImageCompressor -import ru.tech.imageresizershrinker.core.domain.image.ImageScaler import ru.tech.imageresizershrinker.core.domain.image.ShareProvider import ru.tech.imageresizershrinker.core.domain.image.model.ImageFormat import ru.tech.imageresizershrinker.core.domain.image.model.ImageInfo @@ -50,8 +49,7 @@ class NoiseGenerationViewModel @Inject constructor( private val noiseGenerator: NoiseGenerator, private val fileController: FileController, private val shareProvider: ShareProvider, - private val imageCompressor: ImageCompressor, - private val imageScaler: ImageScaler + private val imageCompressor: ImageCompressor ) : BaseViewModel(dispatchersHolder) { private val _previewBitmap: MutableState = mutableStateOf(null)