mirror of
https://github.com/TeamPiped/Piped.git
synced 2025-12-17 05:28:17 +00:00
Ensure watch history preference actually works.
This commit is contained in:
@@ -196,7 +196,7 @@ const mixin = {
|
||||
});
|
||||
},
|
||||
async updateWatched(videos) {
|
||||
if (window.db) {
|
||||
if (window.db && this.getPreferenceBoolean("watchHistory", false)) {
|
||||
var tx = window.db.transaction("watch_history", "readonly");
|
||||
var store = tx.objectStore("watch_history");
|
||||
videos.map(async video => {
|
||||
|
||||
Reference in New Issue
Block a user