File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 :default-value =" hideCreateNewProfileButton "
3737 @change =" updateHideCreateNewProfileButton "
3838 />
39+ <FtToggleSwitch
40+ :label =" $t (' Settings.Parental Control Settings.Hide Video & Channel Info' )"
41+ compact
42+ :default-value =" hideVideoChannelInfo "
43+ @change =" updateHideVideoChannelInfo "
44+ />
3945 </div >
4046 </div >
4147 </FtSettingsSection >
@@ -69,6 +75,10 @@ const hideAnnouncements = computed(() => {
6975 return store .getters .getHideAnnouncements
7076})
7177
78+ const hideVideoChannelInfo = computed (() => {
79+ return store .getters .getHideVideoChannelInfo
80+ })
81+
7282/**
7383 * @param {boolean} value
7484 */
@@ -103,4 +113,11 @@ function updateHideCreateNewProfileButton(value) {
103113function updateHideAnnouncements (value ) {
104114 store .dispatch (' updateHideAnnouncements' , value)
105115}
116+
117+ /**
118+ * @param {boolean} value
119+ */
120+ function updateHideVideoChannelInfo (value ) {
121+ store .dispatch (' updateHideVideoChannelInfo' , value)
122+ }
106123 </script >
Original file line number Diff line number Diff line change @@ -208,6 +208,7 @@ const state = {
208208 showFamilyFriendlyOnly : false ,
209209 hideCreateNewProfileButton : false ,
210210 hideAnnouncements : false ,
211+ hideVideoChannelInfo : false ,
211212 hideSharingActions : false ,
212213 hideSubscriptionsVideos : false ,
213214 hideSubscriptionsShorts : false ,
Original file line number Diff line number Diff line change @@ -207,6 +207,9 @@ export default defineComponent({
207207 hideVideoDescription : function ( ) {
208208 return this . $store . getters . getHideVideoDescription
209209 } ,
210+ hideVideoChannelInfo : function ( ) {
211+ return this . $store . getters . getHideVideoChannelInfo
212+ } ,
210213 showFamilyFriendlyOnly : function ( ) {
211214 return this . $store . getters . getShowFamilyFriendlyOnly
212215 } ,
Original file line number Diff line number Diff line change 116116 class =" ageRestricted"
117117 />
118118 <div
119- v-if =" (isFamilyFriendly || !showFamilyFriendlyOnly)"
119+ v-if =" (!hideVideoChannelInfo && ( isFamilyFriendly || !showFamilyFriendlyOnly) )"
120120 ref =" infoArea"
121121 class =" infoArea"
122122 :class =" { infoAreaSticky }"
Original file line number Diff line number Diff line change @@ -641,6 +641,7 @@ Settings:
641641 Hide Search Bar : Hide Search Bar
642642 Hide Create New Profile Button : Hide Create New Profile Button
643643 Hide Announcements : Hide Announcements
644+ Hide Video & Channel Info : Hide Video & Channel Info
644645 Download Settings :
645646 Download Settings : Download
646647 Ask Download Path : Ask for download path
You can’t perform that action at this time.
0 commit comments