2
0

Set Manga.releaseStatus to new releaseStatus.

Fix #119
This commit is contained in:
Glax 2024-04-19 02:37:17 +02:00
parent 13565d1c7a
commit 294ce01bc3

View File

@ -28,7 +28,7 @@ public struct Manga
public string? originalLanguage { get; } public string? originalLanguage { get; }
// ReSharper disable twice MemberCanBePrivate.Global // ReSharper disable twice MemberCanBePrivate.Global
public string status { get; private set; } public string status { get; private set; }
public ReleaseStatusByte releaseStatus { get; } public ReleaseStatusByte releaseStatus { get; private set; }
public enum ReleaseStatusByte : byte public enum ReleaseStatusByte : byte
{ {
Continuing = 0, Continuing = 0,
@ -80,6 +80,7 @@ public struct Manga
if(!this.authors.Contains(author)) if(!this.authors.Contains(author))
this.authors.Add(author); this.authors.Add(author);
this.status = newManga.status; this.status = newManga.status;
this.releaseStatus = newManga.releaseStatus;
this.year = newManga.year; this.year = newManga.year;
} }