Rename expandCW to collapseMessageWithSubject.

Add option to config.json, disabled by default.
This commit is contained in:
ensra 2018-08-20 03:41:40 +01:00
parent 671db023da
commit 3ec8e43a97
8 changed files with 26 additions and 23 deletions

View file

@ -15,7 +15,7 @@ const settings = {
streamingLocal: this.$store.state.config.streaming,
pauseOnUnfocusedLocal: this.$store.state.config.pauseOnUnfocused,
hoverPreviewLocal: this.$store.state.config.hoverPreview,
expandCWLocal: this.$store.state.config.expandCW,
collapseMessageWithSubjectLocal: this.$store.state.config.collapseMessageWithSubject,
stopGifs: this.$store.state.config.stopGifs,
loopSilentAvailable:
// Firefox
@ -66,8 +66,8 @@ const settings = {
value = filter(value.split('\n'), (word) => trim(word).length > 0)
this.$store.dispatch('setOption', { name: 'muteWords', value })
},
expandCWLocal (value) {
this.$store.dispatch('setOption', { name: 'expandCW', value })
collapseMessageWithSubjectLocal (value) {
this.$store.dispatch('setOption', { name: 'collapseMessageWithSubject', value })
},
stopGifs (value) {
this.$store.dispatch('setOption', { name: 'stopGifs', value })