Skip to content

Commit 2daac25

Browse files
committed
Revert "Temporarily deprecate the code added in commit 9751ee9"
This reverts commit 5451802.
1 parent 85eda57 commit 2daac25

File tree

1 file changed

+0
-6
lines changed
  • compose-multiplatform-common/src/commonMain/kotlin/com/huanshankeji/compose/layout

1 file changed

+0
-6
lines changed

compose-multiplatform-common/src/commonMain/kotlin/com/huanshankeji/compose/layout/Intrinsic.kt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,10 @@ package com.huanshankeji.compose.layout
33
import androidx.compose.runtime.Stable
44
import com.huanshankeji.compose.ui.Modifier
55

6-
private const val DEPRECATION_MESSAGE =
7-
"This API doesn't work as expected, is not consistent on both platforms, and is temporarily deprecated."
8-
9-
@Deprecated(DEPRECATION_MESSAGE)
106
@Stable
117
expect fun Modifier.width(intrinsicSize: IntrinsicSize): Modifier
128

13-
@Deprecated(DEPRECATION_MESSAGE)
149
@Stable
1510
expect fun Modifier.height(intrinsicSize: IntrinsicSize): Modifier
1611

17-
@Deprecated(DEPRECATION_MESSAGE)
1812
enum class IntrinsicSize { Min, Max }

0 commit comments

Comments
 (0)