From 294ce01bc3ece7ca8e845713f4932ae0404c7086 Mon Sep 17 00:00:00 2001 From: Glax Date: Fri, 19 Apr 2024 02:37:17 +0200 Subject: [PATCH] Set Manga.releaseStatus to new releaseStatus. Fix #119 --- Tranga/Manga.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tranga/Manga.cs b/Tranga/Manga.cs index 4949a2c..36ae388 100644 --- a/Tranga/Manga.cs +++ b/Tranga/Manga.cs @@ -28,7 +28,7 @@ public struct Manga public string? originalLanguage { get; } // ReSharper disable twice MemberCanBePrivate.Global public string status { get; private set; } - public ReleaseStatusByte releaseStatus { get; } + public ReleaseStatusByte releaseStatus { get; private set; } public enum ReleaseStatusByte : byte { Continuing = 0, @@ -80,6 +80,7 @@ public struct Manga if(!this.authors.Contains(author)) this.authors.Add(author); this.status = newManga.status; + this.releaseStatus = newManga.releaseStatus; this.year = newManga.year; }