Эх сурвалжийг харах

Remove unneeded empty lines

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 4 жил өмнө
parent
commit
d642da450f

+ 0 - 3
src/androidTest/java/com/owncloud/android/ui/fragment/AvatarIT.kt

@@ -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)
     }
-
 }

+ 0 - 1
src/androidTest/java/com/owncloud/android/ui/fragment/AvatarTestFragment.kt

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

+ 2 - 3
src/main/java/com/owncloud/android/ui/components/AvatarWithStatus.kt

@@ -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) {