diff --git a/easycrop/src/main/java/com/mr0xf00/easycrop/ImagePicker.kt b/easycrop/src/main/java/com/mr0xf00/easycrop/ImagePicker.kt index 4bdc8952..ef41c302 100644 --- a/easycrop/src/main/java/com/mr0xf00/easycrop/ImagePicker.kt +++ b/easycrop/src/main/java/com/mr0xf00/easycrop/ImagePicker.kt @@ -5,7 +5,6 @@ import androidx.activity.compose.rememberLauncherForActivityResult import androidx.activity.result.contract.ActivityResultContracts import androidx.compose.runtime.Composable import androidx.compose.runtime.remember -import androidx.compose.ui.unit.IntSize interface ImagePicker { /** Pick an image with [mimetype] */ diff --git a/easycrop/src/main/java/com/mr0xf00/easycrop/ui/ImageCropperDialog.kt b/easycrop/src/main/java/com/mr0xf00/easycrop/ui/ImageCropperDialog.kt index 24958039..c619c321 100644 --- a/easycrop/src/main/java/com/mr0xf00/easycrop/ui/ImageCropperDialog.kt +++ b/easycrop/src/main/java/com/mr0xf00/easycrop/ui/ImageCropperDialog.kt @@ -5,7 +5,6 @@ import androidx.compose.foundation.layout.* import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.material.icons.Icons import androidx.compose.material.icons.automirrored.filled.ArrowBack -import androidx.compose.material.icons.filled.ArrowBack import androidx.compose.material.icons.filled.Done import androidx.compose.material3.ExperimentalMaterial3Api import androidx.compose.material3.Icon diff --git a/easycrop/src/test/java/com/mr0xf00/easycrop/CropStateTest.kt b/easycrop/src/test/java/com/mr0xf00/easycrop/CropStateTest.kt index fd10006e..56a13381 100644 --- a/easycrop/src/test/java/com/mr0xf00/easycrop/CropStateTest.kt +++ b/easycrop/src/test/java/com/mr0xf00/easycrop/CropStateTest.kt @@ -4,13 +4,9 @@ import androidx.compose.ui.geometry.Offset import androidx.compose.ui.geometry.Rect import androidx.compose.ui.unit.IntSize import androidx.compose.ui.unit.toIntRect -import com.mr0xf00.easycrop.CropState -import com.mr0xf00.easycrop.flipX -import com.mr0xf00.easycrop.getTransformedImageRect import com.mr0xf00.easycrop.images.DecodeParams import com.mr0xf00.easycrop.images.DecodeResult import com.mr0xf00.easycrop.images.ImageSrc -import com.mr0xf00.easycrop.rotLeft import com.mr0xf00.easycrop.utils.containsInclusive import com.mr0xf00.easycrop.utils.resize import com.mr0xf00.easycrop.utils.roundOut