fix some lint warnings
This commit is contained in:
parent
1ae3e86378
commit
ef66deeae7
36 changed files with 52 additions and 105 deletions
|
@ -77,10 +77,10 @@ defStyleAttr: Int = 0
|
|||
* even if we have a focus point set.
|
||||
*/
|
||||
override fun getScaleType(): ScaleType {
|
||||
if (focus != null) {
|
||||
return ScaleType.CENTER_CROP
|
||||
return if (focus != null) {
|
||||
ScaleType.CENTER_CROP
|
||||
} else {
|
||||
return super.getScaleType()
|
||||
super.getScaleType()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue