mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-27 21:34:20 +00:00
Silence some warnings
This commit is contained in:
@@ -200,12 +200,12 @@ fun RecyclerView.setDividers(dividerVertical: Drawable?, dividerHorizontal: Draw
|
||||
}
|
||||
}
|
||||
|
||||
@BindingAdapter("app:icon")
|
||||
@BindingAdapter("icon")
|
||||
fun Button.setIconRes(res: Int) {
|
||||
(this as MaterialButton).setIconResource(res)
|
||||
}
|
||||
|
||||
@BindingAdapter("app:icon")
|
||||
@BindingAdapter("icon")
|
||||
fun Button.setIcon(drawable: Drawable) {
|
||||
(this as MaterialButton).icon = drawable
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user