Remove unneeded empty lines

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2020-10-21 21:31:28 +02:00
parent dbd9e6fe9b
commit d642da450f
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B
3 changed files with 2 additions and 7 deletions

View file

@ -1,5 +1,4 @@
/*
*
* Nextcloud Android client application
*
* @author Tobias Kaminsky
@ -36,7 +35,6 @@ import com.owncloud.android.utils.ScreenshotTest
import org.junit.Rule
import org.junit.Test
class AvatarIT : AbstractIT() {
@get:Rule
val testActivityRule = IntentsTestRule(TestActivity::class.java, true, false)
@ -184,5 +182,4 @@ class AvatarIT : AbstractIT() {
waitForIdleSync()
screenshot(sut)
}
}

View file

@ -75,7 +75,6 @@ internal class AvatarTestFragment : Fragment() {
} else {
list2.addView(imageView)
}
}
companion object {

View file

@ -33,14 +33,13 @@ class AvatarWithStatus(val roundedBitmapDrawable: RoundedBitmapDrawable) : Drawa
private val redPaint: Paint = Paint().apply { setARGB(255, 255, 0, 0) }
override fun draw(canvas: Canvas) {
val width: Int = 100
val height: Int = 100
val width = 100
val height = 100
val radius: Float = Math.min(width, height).toFloat() / 2f
// Draw a red circle in the center
//canvas.drawBitmap(roundedBitmapDrawable.bitmap!!, 0f, 0f, null)
canvas.drawCircle((width / 2).toFloat(), (height / 2).toFloat(), radius, redPaint)
}
override fun setAlpha(alpha: Int) {