Skip to content

Commit

Permalink
Mark as error.
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrtwhite committed Nov 23, 2023
1 parent 2c726f4 commit 0462c9f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import app.cash.redwood.Modifier
message = "This extension function is obselete now that RowScope and " +
"ColumnScope support flex directly. Remove the import for this function.",
replaceWith = ReplaceWith("flex(value)"),
level = DeprecationLevel.ERROR,
)
public fun Modifier.flex(`value`: Double): Modifier =
then(GrowImpl(`value`)).then(ShrinkImpl(`value`))

0 comments on commit 0462c9f

Please sign in to comment.