From eba51360c1f9e34c729a27aed024517b2e0a004a Mon Sep 17 00:00:00 2001 From: Fabian Wiesel Date: Fri, 1 Mar 2024 18:01:46 +0100 Subject: [PATCH] Remove unnessary unit from function --- app/src/main/kotlin/de/rochefort/childmonitor/ListenService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/de/rochefort/childmonitor/ListenService.kt b/app/src/main/kotlin/de/rochefort/childmonitor/ListenService.kt index 2b9619e..5240363 100644 --- a/app/src/main/kotlin/de/rochefort/childmonitor/ListenService.kt +++ b/app/src/main/kotlin/de/rochefort/childmonitor/ListenService.kt @@ -160,7 +160,7 @@ class ListenService : Service() { lt.start() } - private fun withAudioTrack(block: (AudioTrack) -> Unit): Unit { + private fun withAudioTrack(block: (AudioTrack) -> Unit) { Log.i(TAG, "Setting up stream") val audioTrack = AudioTrack(AudioManager.STREAM_MUSIC, frequency,