mirror of
https://github.com/FreeTubeApp/FreeTube
synced 2024-12-12 12:39:30 +01:00
* Update video list display & watch page to not use stored watch progress when progress saving disabled (#3453)
This commit is contained in:
parent
0de7b82a62
commit
3597499df1
@ -499,7 +499,10 @@ export default defineComponent({
|
||||
|
||||
if (historyIndex !== -1) {
|
||||
this.watched = true
|
||||
this.watchProgress = this.historyCache[historyIndex].watchProgress
|
||||
if (this.saveWatchedProgress) {
|
||||
// For UX consistency, no progress reading if writing disabled
|
||||
this.watchProgress = this.historyCache[historyIndex].watchProgress
|
||||
}
|
||||
|
||||
if (this.historyCache[historyIndex].published !== '') {
|
||||
const videoPublished = this.historyCache[historyIndex].published
|
||||
|
@ -944,7 +944,8 @@ export default defineComponent({
|
||||
} else {
|
||||
this.$refs.videoPlayer.player.currentTime(this.timestamp)
|
||||
}
|
||||
} else if (historyIndex !== -1) {
|
||||
} else if (this.saveWatchedProgress && historyIndex !== -1) {
|
||||
// For UX consistency, no progress reading if writing disabled
|
||||
const watchProgress = this.historyCache[historyIndex].watchProgress
|
||||
|
||||
if (watchProgress < (this.videoLengthSeconds - 10)) {
|
||||
|
Loading…
Reference in New Issue
Block a user