Skip to content

Commit

Permalink
Added Noise generator by #948
Browse files Browse the repository at this point in the history
  • Loading branch information
T8RIN committed Sep 12, 2024
1 parent 9082438 commit 9a564e3
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -50,8 +49,7 @@ class NoiseGenerationViewModel @Inject constructor(
private val noiseGenerator: NoiseGenerator<Bitmap>,
private val fileController: FileController,
private val shareProvider: ShareProvider<Bitmap>,
private val imageCompressor: ImageCompressor<Bitmap>,
private val imageScaler: ImageScaler<Bitmap>
private val imageCompressor: ImageCompressor<Bitmap>
) : BaseViewModel(dispatchersHolder) {

private val _previewBitmap: MutableState<Bitmap?> = mutableStateOf(null)
Expand Down

0 comments on commit 9a564e3

Please sign in to comment.