From 29fb5cbd98ef483e82bd126d5f0e3ffde6e3c2fa Mon Sep 17 00:00:00 2001 From: T8RIN Date: Sun, 18 Feb 2024 18:08:46 +0300 Subject: [PATCH] bump aire --- .../feature/filters/data/model/TiltShiftFilter.kt | 2 +- gradle/libs.versions.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/feature/filters/src/main/java/ru/tech/imageresizershrinker/feature/filters/data/model/TiltShiftFilter.kt b/feature/filters/src/main/java/ru/tech/imageresizershrinker/feature/filters/data/model/TiltShiftFilter.kt index e50a82986e..8de7f5cfa1 100644 --- a/feature/filters/src/main/java/ru/tech/imageresizershrinker/feature/filters/data/model/TiltShiftFilter.kt +++ b/feature/filters/src/main/java/ru/tech/imageresizershrinker/feature/filters/data/model/TiltShiftFilter.kt @@ -37,7 +37,7 @@ internal class TiltShiftFilter( size: IntegerSize ): Bitmap = Aire.tiltShift( bitmap = input, - radius = value.blurRadius.roundToInt().toFloat(), + radius = value.blurRadius.roundToInt(), sigma = value.sigma, anchorX = value.anchorX, anchorY = value.anchorY, diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 1f6b46dd32..5387947252 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -18,7 +18,7 @@ androidx-datastorePreferencesAndroid = "1.1.0-beta01" appUpdateKtx = "2.1.0" appUpdate = "2.1.0" avifCoder = "1.5.12" -aire = "0.9.50" +aire = "0.9.51" jxlCoderCoil = "1.9.0" jxlCoder = "1.9.0" shadowGadgets = "2.1.0"