Fixed a bug where chapter cover images weren't being updated due to a missed not.

This commit is contained in:
Joseph Milazzo 2021-04-01 09:18:26 -05:00
parent 480c990c1b
commit 7d54923041
2 changed files with 4 additions and 4 deletions

View file

@ -10,9 +10,9 @@ namespace API.Extensions
return comparison.Equals(fileInfo.LastWriteTime);
}
public static bool IsLastWriteOlder(this FileInfo fileInfo, DateTime comparison)
public static bool IsLastWriteLessThan(this FileInfo fileInfo, DateTime comparison)
{
return comparison > fileInfo.LastWriteTime;
return fileInfo.LastWriteTime < comparison;
}
}
}