From 14ec35eec9d218157aafbd5d8a03ebe2341c2a87 Mon Sep 17 00:00:00 2001
From: Arkadiusz Fal <arek@arekf.net>
Date: Mon, 8 Aug 2022 19:25:42 +0200
Subject: [PATCH] Fix possible crash

---
 Model/HistoryModel.swift | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Model/HistoryModel.swift b/Model/HistoryModel.swift
index ff920cbb..0eca943b 100644
--- a/Model/HistoryModel.swift
+++ b/Model/HistoryModel.swift
@@ -53,7 +53,7 @@ extension PlayerModel {
             } else {
                 watch = results?.first
 
-                if !Defaults[.resetWatchedStatusOnPlaying], watch.finished {
+                if !self.resetWatchedStatusOnPlaying, watch.finished {
                     return
                 }
             }