Settings: Remove unnecessary handler for `defaultVolume` update

This commit is contained in:
Svallinn 2021-06-09 01:18:27 +01:00
parent 324e834083
commit 8b785bd71d
No known key found for this signature in database
GPG Key ID: 09FB527F34037CCA
2 changed files with 1 additions and 5 deletions

View File

@ -119,10 +119,6 @@ export default Vue.extend({
} }
}, },
methods: { methods: {
parseVolumeBeforeUpdate: function (volume) {
this.updateDefaultVolume(volume / 100)
},
...mapActions([ ...mapActions([
'updateAutoplayVideos', 'updateAutoplayVideos',
'updateAutoplayPlaylists', 'updateAutoplayPlaylists',

View File

@ -89,7 +89,7 @@
:max-value="100" :max-value="100"
:step="1" :step="1"
value-extension="%" value-extension="%"
@change="parseVolumeBeforeUpdate" @change="updateDefaultVolume($event / 100)"
/> />
<ft-slider <ft-slider
:label="$t('Settings.Player Settings.Default Playback Rate')" :label="$t('Settings.Player Settings.Default Playback Rate')"