From 35c0502e87cd7cb243832cb37e9ff1a1d9add9cb Mon Sep 17 00:00:00 2001 From: kodjomoustapha <107993382+kodjodevf@users.noreply.github.com> Date: Tue, 31 Dec 2024 11:13:42 +0100 Subject: [PATCH] refactor: remove default value for isManga --- lib/models/history.dart | 2 +- lib/models/manga.dart | 2 +- lib/models/source.dart | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/models/history.dart b/lib/models/history.dart index 7916ad2..79d2250 100644 --- a/lib/models/history.dart +++ b/lib/models/history.dart @@ -23,7 +23,7 @@ class History { History({ this.id = Isar.autoIncrement, - this.isManga = true, + this.isManga, required this.itemType, required this.chapterId, required this.mangaId, diff --git a/lib/models/manga.dart b/lib/models/manga.dart index 68d905a..3cb038e 100644 --- a/lib/models/manga.dart +++ b/lib/models/manga.dart @@ -65,7 +65,7 @@ class Manga { required this.name, required this.status, required this.description, - this.isManga = true, + this.isManga, this.itemType = ItemType.manga, this.dateAdded, this.lastUpdate, diff --git a/lib/models/source.dart b/lib/models/source.dart index 6e5644c..c05195d 100644 --- a/lib/models/source.dart +++ b/lib/models/source.dart @@ -86,7 +86,7 @@ class Source { this.versionLast = "0.0.1", this.sourceCode = '', this.headers = '', - this.isManga = true, + this.isManga, this.itemType = ItemType.manga, this.appMinVerReq = "", this.additionalParams = "",