mirror of
https://github.com/nextcloud/android.git
synced 2024-11-28 02:17:43 +03:00
Remove unneeded empty lines
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
dbd9e6fe9b
commit
d642da450f
3 changed files with 2 additions and 7 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -75,7 +75,6 @@ internal class AvatarTestFragment : Fragment() {
|
|||
} else {
|
||||
list2.addView(imageView)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
companion object {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue