Fix build

master
Koitharu 1 year ago
parent ed9ed8e964
commit 05c37da667
Signed by: Koitharu
GPG Key ID: 676DEE768C17A9D7

@ -11,7 +11,9 @@ import android.view.LayoutInflater
import android.view.MotionEvent import android.view.MotionEvent
import android.view.View import android.view.View
import android.view.ViewGroup import android.view.ViewGroup
import android.widget.* import android.widget.FrameLayout
import android.widget.LinearLayout
import android.widget.RelativeLayout
import androidx.annotation.AttrRes import androidx.annotation.AttrRes
import androidx.annotation.ColorInt import androidx.annotation.ColorInt
import androidx.annotation.DimenRes import androidx.annotation.DimenRes
@ -229,7 +231,8 @@ class FastScroller @JvmOverloads constructor(
* *
* @param params The [ViewGroup.LayoutParams] for this view, cannot be null * @param params The [ViewGroup.LayoutParams] for this view, cannot be null
*/ */
override fun setLayoutParams(params: LayoutParams) { @Suppress("RemoveRedundantQualifierName")
override fun setLayoutParams(params: ViewGroup.LayoutParams) {
params.width = LayoutParams.WRAP_CONTENT params.width = LayoutParams.WRAP_CONTENT
super.setLayoutParams(params) super.setLayoutParams(params)
} }

Loading…
Cancel
Save