Skip to content

Commit

Permalink
detekt issues
Browse files Browse the repository at this point in the history
Signed-off-by: rapterjet2004 <[email protected]>
  • Loading branch information
rapterjet2004 committed Jul 28, 2023
1 parent d556dd1 commit 5e09eae
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/src/main/java/com/nextcloud/talk/ui/WaveformSeekBar.kt
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ class WaveformSeekBar : AppCompatSeekBar {
}
}


override fun onDraw(canvas: Canvas?) {
if (waveData.size == 0 || waveData[0].toString() == "NaN") {
super.onDraw(canvas)
Expand Down Expand Up @@ -104,12 +103,10 @@ class WaveformSeekBar : AppCompatSeekBar {
}

restore()

}
}

companion object {
private val TAG: String? = WaveformSeekBar::class.simpleName
private const val DEFAULT_BAR_WIDTH: Int = 1
private const val MAX_HEIGHT_DIVISOR: Float = 6.5f
private val Int.dp: Int
Expand Down

0 comments on commit 5e09eae

Please sign in to comment.