Fixed a bug where chapter cover images weren't being updated due to a missed not.
This commit is contained in:
parent
480c990c1b
commit
7d54923041
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue