From f65377127d6d335012da9ab51aeb1f30659b74e2 Mon Sep 17 00:00:00 2001
From: pablodekota <76634178+pablodekota@users.noreply.github.com>
Date: Sun, 10 Jan 2021 04:11:42 +0100
Subject: [PATCH] Hide active subscriptions (#918)
* Update distraction-settings.js
* Update side-nav.js
* added hiding subscription activity
* Update distraction-settings.js
* Update distraction-settings.js
* Update side-nav.js
* Update side-nav.vue
* Update distraction-settings.vue
* Update settings.js
* Update side-nav.vue
* Update distraction-settings.js
* Update en-US.yaml
* Update en_GB.yaml
* Update distraction-settings.js
* Update settings.js
* Update side-nav.vue
* Update side-nav.vue
* Update side-nav.vue
Co-authored-by: Pablo <8d1d1de7-176f-4d40-b5f0-5a552aabd433@4wrd.cc>
---
.../distraction-settings.js | 4 +++
.../distraction-settings.vue | 6 ++++
src/renderer/components/side-nav/side-nav.js | 3 ++
src/renderer/components/side-nav/side-nav.vue | 34 +++++++++++--------
src/renderer/store/modules/settings.js | 20 ++++++++++-
static/locales/en-US.yaml | 1 +
static/locales/en_GB.yaml | 1 +
7 files changed, 53 insertions(+), 16 deletions(-)
diff --git a/src/renderer/components/distraction-settings/distraction-settings.js b/src/renderer/components/distraction-settings/distraction-settings.js
index 22a1f7d4..e00a68a7 100644
--- a/src/renderer/components/distraction-settings/distraction-settings.js
+++ b/src/renderer/components/distraction-settings/distraction-settings.js
@@ -39,6 +39,9 @@ export default Vue.extend({
},
hideLiveChat: function () {
return this.$store.getters.getHideLiveChat
+ },
+ hideActiveSubscriptions: function () {
+ return this.$store.getters.getHideActiveSubscriptions
}
},
methods: {
@@ -60,6 +63,7 @@ export default Vue.extend({
'updateHideTrendingVideos',
'updateHidePopularVideos',
'updateHideLiveChat',
+ 'updateHideActiveSubscriptions',
'updatePlayNextVideo',
'updateDefaultTheatreMode'
])
diff --git a/src/renderer/components/distraction-settings/distraction-settings.vue b/src/renderer/components/distraction-settings/distraction-settings.vue
index 26707279..54781a1a 100644
--- a/src/renderer/components/distraction-settings/distraction-settings.vue
+++ b/src/renderer/components/distraction-settings/distraction-settings.vue
@@ -33,6 +33,12 @@
:default-value="hideCommentLikes"
@change="updateHideCommentLikes"
/>
+