Revert "feat: Add a Show Subtitles option"

This reverts commit 3ef189ed4a.
This commit is contained in:
mikiher 2024-06-25 08:57:09 +03:00
parent 090c02079d
commit e06ab594e1
5 changed files with 0 additions and 33 deletions

View file

@ -68,8 +68,6 @@
<div class="flex-grow hidden sm:inline-block" />
<ui-checkbox v-if="isLibraryPage && !isBatchSelecting" v-model="settings.showSubtitles" :label="$strings.LabelShowSubtitles" checkbox-bg="bg" check-color="white" small class="mr-6" @input="updateShowSubtitles" />
<!-- collapse series checkbox -->
<ui-checkbox v-if="isLibraryPage && isBookLibrary && !isBatchSelecting" v-model="settings.collapseSeries" :label="$strings.LabelCollapseSeries" checkbox-bg="bg" check-color="white" small class="mr-2" @input="updateCollapseSeries" />
@ -90,17 +88,11 @@
<ui-context-menu-dropdown v-if="contextMenuItems.length" :items="contextMenuItems" :menu-width="110" class="ml-2" @action="contextMenuAction" />
</template>
<!-- home page -->
<template v-else-if="isHome">
<div class="flex-grow" />
<ui-checkbox v-model="settings.showSubtitles" :label="$strings.LabelShowSubtitles" checkbox-bg="bg" check-color="white" small class="mr-6" @input="updateShowSubtitles" />
</template>
<!-- search page -->
<template v-else-if="page === 'search'">
<div class="flex-grow" />
<p>{{ $strings.MessageSearchResultsFor }} "{{ searchQuery }}"</p>
<div class="flex-grow" />
<ui-checkbox v-model="settings.showSubtitles" :label="$strings.LabelShowSubtitles" checkbox-bg="bg" check-color="white" small class="mr-6" @input="updateShowSubtitles" />
</template>
<!-- authors page -->
<template v-else-if="page === 'authors'">
@ -490,9 +482,6 @@ export default {
updateCollapseBookSeries() {
this.saveSettings()
},
updateShowSubtitles() {
this.saveSettings()
},
updateAuthorSort() {
this.saveSettings()
},

View file

@ -120,9 +120,6 @@ export default {
filterBy() {
return this.$store.getters['user/getUserSetting']('filterBy')
},
showSubtitles() {
return this.$store.getters['user/getUserSetting']('showSubtitles')
},
collapseSeries() {
return this.$store.getters['user/getUserSetting']('collapseSeries')
},