2019-06-27 01:03:06 +02:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
2019-07-12 20:38:15 +02:00
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2019-06-27 01:03:06 +02:00
|
|
|
|
|
|
|
package org.mozilla.fenix.ext
|
|
|
|
|
|
|
|
import android.graphics.drawable.Drawable
|
|
|
|
|
|
|
|
fun Drawable.setBounds(size: Int) {
|
|
|
|
setBounds(0, 0, size, size)
|
|
|
|
}
|