fix: do not track when tracking disabled
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user