File tree Expand file tree Collapse file tree
quickedit/src/main/java/com/abizer_r/quickedit/utils/textMode/blurBackground Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ activityCompose = "1.9.0"
33agp = " 8.3.0"
44androidImageCropper = " 4.5.0"
55appcompat = " 1.7.0"
6- cloudy = " 0.1.2 "
6+ cloudy = " 0.2.7 "
77colorpicker = " 1.0.0"
88composeBom = " 2024.06.00"
99composeScreenshot = " 1.0.3"
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import androidx.compose.ui.res.imageResource
1616import androidx.compose.ui.tooling.preview.Preview
1717import com.abizer_r.quickedit.R
1818import 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
You can’t perform that action at this time.
0 commit comments