only set UpdatedDate on new hash rather than including first hash

ref #485
This commit is contained in:
Collin M. Barrett 2018-10-06 07:59:54 -05:00
parent 4576ab9ea0
commit 0ef96881a7

View file

@ -187,7 +187,8 @@ private void UpdateUpdatedDate()
{
if (isUpdatedDateFromGitHub)
return;
List.UpdatedDate = DateTime.Now;
if (List.Snapshots.Any(s => s.WasUpdated && s.WasSuccessful))
List.UpdatedDate = DateTime.Now;
}
private async Task GetLinesFrom7Zip(Stream stream)