mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-16 20:10:04 +03:00
Fix / line too long
This commit is contained in:
parent
1da0b5be76
commit
3c16701766
1 changed files with 3 additions and 1 deletions
|
@ -9,7 +9,9 @@ import androidx.transition.Transition
|
||||||
import androidx.transition.TransitionManager
|
import androidx.transition.TransitionManager
|
||||||
|
|
||||||
|
|
||||||
inline fun ConstraintLayout.updateConstraintSet(@LayoutRes layoutId: Int, rootLayoutForAnimation: ConstraintLayout? = null, noinline onAnimationEnd: (() -> Unit)? = null) {
|
inline fun ConstraintLayout.updateConstraintSet(@LayoutRes layoutId: Int,
|
||||||
|
rootLayoutForAnimation: ConstraintLayout? = null,
|
||||||
|
noinline onAnimationEnd: (() -> Unit)? = null) {
|
||||||
if (rootLayoutForAnimation != null) {
|
if (rootLayoutForAnimation != null) {
|
||||||
val transition = ChangeBounds()
|
val transition = ChangeBounds()
|
||||||
transition.interpolator = OvershootInterpolator()
|
transition.interpolator = OvershootInterpolator()
|
||||||
|
|
Loading…
Add table
Reference in a new issue