Skip to content

Commit a08dd6b

Browse files
committed
Bump Cloudy to 0.2.7 to support 16KB page sizes
1 parent 1a8124d commit a08dd6b

2 files changed

Lines changed: 11 additions & 15 deletions

File tree

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ activityCompose = "1.9.0"
33
agp = "8.3.0"
44
androidImageCropper = "4.5.0"
55
appcompat = "1.7.0"
6-
cloudy = "0.1.2"
6+
cloudy = "0.2.7"
77
colorpicker = "1.0.0"
88
composeBom = "2024.06.00"
99
composeScreenshot = "1.0.3"

quickedit/src/main/java/com/abizer_r/quickedit/utils/textMode/blurBackground/BlurBitmapBackground.kt

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import androidx.compose.ui.res.imageResource
1616
import androidx.compose.ui.tooling.preview.Preview
1717
import com.abizer_r.quickedit.R
1818
import com.abizer_r.quickedit.theme.QuickEditTheme
19-
import com.skydoves.cloudy.Cloudy
19+
import com.skydoves.cloudy.cloudy
2020

2121
@OptIn(ExperimentalComposeUiApi::class)
2222
@Composable
@@ -36,19 +36,15 @@ fun BlurBitmapBackground(
3636
*/
3737
if (shouldBlur) {
3838
Log.e("TEST_BLUR", "BlurBitmapBackground: ", )
39-
Cloudy(
40-
modifier = modifier,
41-
radius = blurRadius
42-
) {
43-
Image(
44-
modifier = Modifier.fillMaxSize(),
45-
bitmap = imageBitmap,
46-
contentScale = contentScale,
47-
contentDescription = null,
48-
alpha = 0.5f
49-
)
50-
}
51-
39+
Image(
40+
modifier = modifier.fillMaxSize().cloudy(
41+
radius = blurRadius
42+
),
43+
bitmap = imageBitmap,
44+
contentScale = contentScale,
45+
contentDescription = null,
46+
alpha = 0.5f
47+
)
5248
} else {
5349
Image(
5450
modifier = Modifier

0 commit comments

Comments
 (0)