This repository has been archived by the owner on Sep 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 42
Migration from 0.3.1 to 0.6.0 #113
Comments
For example: // Before
view.applySystemWindowInsetsToPadding(top = true)
// After replace
view.applyInsetter { type(statusBars = true) { padding() } }
// Before
view.applySystemWindowInsetsToMargin(top = true, bottom = true)
// After replace
view.applyInsetter { type(statusBars = true, navigationBars = true) { margin() } } It is not the exact equivalent, but the migration gets easier. |
Feel free to submit a PR and we'll get them merged 👍 |
Merged
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Just created functions with annotation
@Deprecated
andreplaceWith
expressions to make migration easier in simple cases.The text was updated successfully, but these errors were encountered: