mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
Fixing registrations bug
This commit is contained in:
parent
8b6e24c575
commit
3a0061d379
@ -32,7 +32,12 @@ namespace Kyoo.Models
|
||||
public string Thumb; //Used in the API response only
|
||||
|
||||
|
||||
public Episode() { }
|
||||
public Episode()
|
||||
{
|
||||
SeasonNumber = -1;
|
||||
EpisodeNumber = -1;
|
||||
AbsoluteNumber = -1;
|
||||
}
|
||||
|
||||
public Episode(long seasonNumber,
|
||||
long episodeNumber,
|
||||
|
@ -70,7 +70,7 @@ namespace Kyoo
|
||||
List<T> list = first.ToList();
|
||||
if (isEqual == null)
|
||||
isEqual = (x, y) => x.Equals(y);
|
||||
return list.Concat(second.Where(x => !list.Any(y => isEqual(x, y))));
|
||||
return list.Concat(second.Where(x => !list.Any(y => isEqual(x, y)))).ToList();
|
||||
}
|
||||
|
||||
public static T Complete<T>(T first, T second)
|
||||
|
Loading…
x
Reference in New Issue
Block a user