fix: do not track when tracking disabled

This commit is contained in:
2026-08-05 00:32:56 +02:00
parent 0e324fe855
commit c1d28c7747
+1
View File
@@ -1261,6 +1261,7 @@ final class ViewController: UIViewController, UIGestureRecognizerDelegate {
}
func aniListProgressUpdate(progress: ProgressIndices, newProgress: ProgressIndices) {
if state[currentPath.lastPathComponent]?.aniListTracking == false { return }
if progress.v > newProgress.v || progress.c > newProgress.c {
if let token = aniListToken, let id = metadata.anilistId {
var cProgress = 0