From e472d282655a7cc4f697d9f45f31131617d9c463 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal 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 } }