From bd155acbe34a63390cd9a9a619770b16cc503650 Mon Sep 17 00:00:00 2001 From: Naveen Singh Date: Sun, 8 Sep 2024 01:49:08 +0530 Subject: [PATCH] Update default unmute volume --- .../main/kotlin/org/fossify/gallery/helpers/VolumeController.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/org/fossify/gallery/helpers/VolumeController.kt b/app/src/main/kotlin/org/fossify/gallery/helpers/VolumeController.kt index e9ed531a2..3066b5fdf 100644 --- a/app/src/main/kotlin/org/fossify/gallery/helpers/VolumeController.kt +++ b/app/src/main/kotlin/org/fossify/gallery/helpers/VolumeController.kt @@ -14,7 +14,7 @@ class VolumeController( private val onVolumeChanged: (isMuted: Boolean) -> Unit ) { private var audioManager = context.audioManager - private var savedVolume = audioManager.getStreamMaxVolume(streamType) / 2 + private var savedVolume = audioManager.getStreamMaxVolume(streamType) private val currentVolume: Int get() = audioManager.getStreamVolume(streamType)