mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-06-05 22:09:15 +02:00
remove a couple redundant variables
This commit is contained in:
@ -35,9 +35,6 @@ class Breadcrumbs(context: Context, attrs: AttributeSet) : LinearLayout(context,
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun onLayout(changed: Boolean, l: Int, t: Int, r: Int, b: Int) {
|
override fun onLayout(changed: Boolean, l: Int, t: Int, r: Int, b: Int) {
|
||||||
val paddingTop = paddingTop
|
|
||||||
val paddingLeft = paddingLeft
|
|
||||||
val paddingRight = paddingRight
|
|
||||||
val childRight = measuredWidth - paddingRight
|
val childRight = measuredWidth - paddingRight
|
||||||
val childBottom = measuredHeight - paddingBottom
|
val childBottom = measuredHeight - paddingBottom
|
||||||
val childHeight = childBottom - paddingTop
|
val childHeight = childBottom - paddingTop
|
||||||
|
Reference in New Issue
Block a user