summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/tree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 0322c3933a..e5f4151891 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -644,9 +644,11 @@ static bool dirbrowse(void)
/* Stop the music if it is playing */
if(audio_status()) {
if (!global_settings.party_mode)
+ {
if (global_settings.fade_on_stop)
fade(0);
audio_stop();
+ }
}
#if defined(CONFIG_CHARGING) && \
(CONFIG_KEYPAD == RECORDER_PAD) && !defined(HAVE_SW_POWEROFF)