Skip to content

Commit

Permalink
lint: run KtlintFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
anilbeesetti committed Aug 18, 2023
1 parent 2229b1e commit 1d9e66d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ import kotlin.math.roundToInt
fun Float.round(decimalPlaces: Int): Float {
return (this * 10.0.pow(decimalPlaces.toDouble()))
.roundToInt() / 10.0.pow(decimalPlaces.toDouble()).toFloat()
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import android.os.Bundle
import androidx.fragment.app.DialogFragment
import com.google.android.material.dialog.MaterialAlertDialogBuilder
import dev.anilbeesetti.nextplayer.core.common.extensions.round
import dev.anilbeesetti.nextplayer.feature.player.databinding.PlaybackSpeedBinding
import dev.anilbeesetti.nextplayer.core.ui.R as coreUiR
import dev.anilbeesetti.nextplayer.feature.player.databinding.PlaybackSpeedBinding

class PlaybackSpeedControlsDialogFragment(
private val currentSpeed: Float,
Expand Down

0 comments on commit 1d9e66d

Please sign in to comment.