migrate object to data object (#1135)
This commit is contained in:
parent
4218a836d5
commit
7083abcf09
98 changed files with 314 additions and 357 deletions
|
|
@ -114,7 +114,7 @@ data class ImageCompressionResult(
|
|||
)
|
||||
|
||||
sealed interface ResizeMode {
|
||||
object None : ResizeMode
|
||||
data object None : ResizeMode
|
||||
data class Approximate(val desiredWidth: Int, val desiredHeight: Int) : ResizeMode
|
||||
data class Strict(val maxWidth: Int, val maxHeight: Int) : ResizeMode
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue