diff --git a/front/src/Components/Menu/SettingsSubMenu.svelte b/front/src/Components/Menu/SettingsSubMenu.svelte index 6623ea44..64a6e0ac 100644 --- a/front/src/Components/Menu/SettingsSubMenu.svelte +++ b/front/src/Components/Menu/SettingsSubMenu.svelte @@ -55,10 +55,11 @@ localUserStore.setMicrophonePrivacySettings(valueMicrophonePrivacySettings); } - if (change) { - window.location.reload(); - } - audioManagerVolumeStore.setDecreaseWhileTalking(decreaseAudioPlayerVolumeWhileTalking); + audioManagerVolumeStore.setDecreaseWhileTalking(decreaseAudioPlayerVolumeWhileTalking); + + if (change) { + window.location.reload(); + } closeMenu(); } @@ -100,13 +101,14 @@ localUserStore.setIgnoreFollowRequests(ignoreFollowRequests); } - function closeMenu() { - menuVisiblilityStore.set(false); - } function changeDecreaseAudioPlayerVolumeWhileTalking() { localUserStore.setDecreaseAudioPlayerVolumeWhileTalking(decreaseAudioPlayerVolumeWhileTalking); } + function closeMenu() { + menuVisiblilityStore.set(false); + } + const isMobile = isMediaBreakpointUp("md"); @@ -230,15 +232,15 @@ on:change={changeIgnoreFollowRequests} /> {$LL.menu.settings.ignoreFollowRequest()} - +