Skip to content

Commit

Permalink
fix: remove unnecessary parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
rebelonion committed Nov 23, 2024
1 parent 3d7a71e commit a9bd9b4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ class ControllerListener(
private fun getVolume(): Double {
val maxVolume = audioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC)
val volume = audioManager.getStreamVolume(AudioManager.STREAM_MUSIC)
return (volume.toDouble() / maxVolume.toDouble())
return volume.toDouble() / maxVolume.toDouble()
}


Expand Down

0 comments on commit a9bd9b4

Please sign in to comment.