Skip to content

Commit

Permalink
Name unification
Browse files Browse the repository at this point in the history
  • Loading branch information
Jdam0xff committed Jul 22, 2023
1 parent 2fc2a04 commit bd38019
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const config = [
hint: "If checked, the list of recent hype chats will be hidden",
defaultValue: false,
}),
declareConfig("chat.hide_timestamp-vods", "TOGGLE", {
declareConfig("chat.hide_timestamps_vods", "TOGGLE", {
label: "Hide VOD Timestamps",
path: ["Chat", "VODs"],
hint: "If checked, timestamp for chat will be hidden",
Expand Down Expand Up @@ -210,7 +210,7 @@ export const config = [
}
}
.seventv-hide-timestamp-vods {
.seventv-hide-timestamps-vods {
div[class$="vod-message__header"],
.seventv-chat-vod-message-timestamp {
display: none !important;
Expand Down
4 changes: 2 additions & 2 deletions src/site/twitch.tv/modules/hidden-elements/hiddenElements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const hideHypeChatButton = useConfig<boolean>("layout.hide_hype_chat_button");
const hideTopBarOfStream = useConfig<boolean>("layout.hide_top_bar_of_stream");
const hidePlayerControls = useConfig<boolean>("layout.hide_player_controls");
const hidePinnedHypeChats = useConfig<boolean>("layout.hide_pinned_hype_chats");
const hideTimestampVods= useConfig<boolean>("chat.hide_timestamp-vods");
const hideTimestampsVods = useConfig<boolean>("chat.hide_timestamps_vods");
const hideCommunityHighlights = useConfig<boolean>("layout.hide_community_highlights");
const hideRecommendedChannels = useConfig<boolean>("layout.hide_recommended_channels");
const hideViewersAlsoWatch = useConfig<boolean>("layout.hide_viewers_also_watch");
Expand All @@ -31,7 +31,7 @@ export const hiddenElementSettings: Array<{ class: string; isHidden: Ref<boolean
{ class: "seventv-hide-top-bar-of-stream", isHidden: hideTopBarOfStream },
{ class: "seventv-hide-player-controls", isHidden: hidePlayerControls },
{ class: "seventv-hide-pinned-hype-chats", isHidden: hidePinnedHypeChats },
{ class: "seventv-hide-timestamp-vods", isHidden: hideTimestampVods },
{ class: "seventv-hide-timestamps-vods", isHidden: hideTimestampsVods },
{ class: "seventv-hide-community-highlights", isHidden: hideCommunityHighlights },
{ class: "seventv-hide-recommended-channels", isHidden: hideRecommendedChannels },
{ class: "seventv-hide-viewers-also-watch", isHidden: hideViewersAlsoWatch },
Expand Down

0 comments on commit bd38019

Please sign in to comment.