aboutsummaryrefslogtreecommitdiff
path: root/src/components/settings/settings.js
diff options
context:
space:
mode:
authorensra <ensra@users.noreply.github.com>2018-08-20 03:41:40 +0100
committerensra <ensra@users.noreply.github.com>2018-08-20 03:41:40 +0100
commit3ec8e43a9704b2945d58395dba997adfa2106df5 (patch)
treec2bff1c7dfe6031728acbd42e2995c329cd829ea /src/components/settings/settings.js
parent671db023da097c90e7a2cf67b7218bd13be51bb0 (diff)
Rename expandCW to collapseMessageWithSubject.
Add option to config.json, disabled by default.
Diffstat (limited to 'src/components/settings/settings.js')
-rw-r--r--src/components/settings/settings.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/settings/settings.js b/src/components/settings/settings.js
index 89be1624..c85ef59f 100644
--- a/src/components/settings/settings.js
+++ b/src/components/settings/settings.js
@@ -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 })