mirror of
				https://github.com/TeamPiped/Piped.git
				synced 2024-08-14 23:57:27 +00:00 
			
		
		
		
	fix: mistakes in chapters toggle implementation
This commit is contained in:
		
							parent
							
								
									ce2e3dbfb6
								
							
						
					
					
						commit
						5c79735edd
					
				
					 1 changed files with 2 additions and 12 deletions
				
			
		| 
						 | 
					@ -127,20 +127,13 @@
 | 
				
			||||||
        />
 | 
					        />
 | 
				
			||||||
    </label>
 | 
					    </label>
 | 
				
			||||||
    <!-- chapters layout on mobile -->
 | 
					    <!-- chapters layout on mobile -->
 | 
				
			||||||
    <label class="pref" for="chkMinimizeChapters">
 | 
					    <label class="lg:invisible pref" for="chkMinimizeChapters">
 | 
				
			||||||
        <strong v-t="'actions.chapters_layout_mobile'" />
 | 
					        <strong v-t="'actions.chapters_layout_mobile'" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <select id="ddlDefaultHomepage" v-model="mobileChapterLayout" class="select w-auto" @change="onChange($event)">
 | 
					        <select id="ddlDefaultHomepage" v-model="mobileChapterLayout" class="select w-auto" @change="onChange($event)">
 | 
				
			||||||
            <option v-t="'video.chapters_horizontal'" value="Horizontal" />
 | 
					            <option v-t="'video.chapters_horizontal'" value="Horizontal" />
 | 
				
			||||||
            <option v-t="'video.chapters_vertical'" value="Vertical" />
 | 
					            <option v-t="'video.chapters_vertical'" value="Vertical" />
 | 
				
			||||||
        </select>
 | 
					        </select>
 | 
				
			||||||
        <!-- <input
 | 
					 | 
				
			||||||
            id="chkMinimizeChapters"
 | 
					 | 
				
			||||||
            v-model="minimizeChapters"
 | 
					 | 
				
			||||||
            class="checkbox"
 | 
					 | 
				
			||||||
            type="checkbox"
 | 
					 | 
				
			||||||
            @change="onChange($event)"
 | 
					 | 
				
			||||||
        /> -->
 | 
					 | 
				
			||||||
    </label>
 | 
					    </label>
 | 
				
			||||||
    <label class="pref" for="chkShowWatchOnYouTube">
 | 
					    <label class="pref" for="chkShowWatchOnYouTube">
 | 
				
			||||||
        <strong v-t="'actions.show_watch_on_youtube'" />
 | 
					        <strong v-t="'actions.show_watch_on_youtube'" />
 | 
				
			||||||
| 
						 | 
					@ -528,10 +521,7 @@ export default {
 | 
				
			||||||
            this.disableLBRY = this.getPreferenceBoolean("disableLBRY", false);
 | 
					            this.disableLBRY = this.getPreferenceBoolean("disableLBRY", false);
 | 
				
			||||||
            this.proxyLBRY = this.getPreferenceBoolean("proxyLBRY", false);
 | 
					            this.proxyLBRY = this.getPreferenceBoolean("proxyLBRY", false);
 | 
				
			||||||
            this.hideWatched = this.getPreferenceBoolean("hideWatched", false);
 | 
					            this.hideWatched = this.getPreferenceBoolean("hideWatched", false);
 | 
				
			||||||
            this.mobileChapterLayout = this.getPreferenceString(
 | 
					            this.mobileChapterLayout = this.getPreferenceString("mobileChapterLayout", "Vertical");
 | 
				
			||||||
                "mobileChapterLayout",
 | 
					 | 
				
			||||||
                localStorage.getItem("mobileChapterLayout") || "Vertical",
 | 
					 | 
				
			||||||
            );
 | 
					 | 
				
			||||||
            if (this.selectedLanguage != "en") {
 | 
					            if (this.selectedLanguage != "en") {
 | 
				
			||||||
                try {
 | 
					                try {
 | 
				
			||||||
                    this.CountryMap = await import(`../utils/CountryMaps/${this.selectedLanguage}.json`).then(
 | 
					                    this.CountryMap = await import(`../utils/CountryMaps/${this.selectedLanguage}.json`).then(
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue