mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-04-21 11:51:57 +00:00
fixed source repos not being restored properly
This commit is contained in:
parent
80bdfe7ee7
commit
9b85654c17
1 changed files with 3 additions and 3 deletions
|
|
@ -520,21 +520,21 @@ class Settings {
|
|||
mangaExtensionsRepo = json['mangaExtensionsRepo'] is String
|
||||
? [Repo(jsonUrl: json['mangaExtensionsRepo'])]
|
||||
: (json['mangaExtensionsRepo'] as List)
|
||||
.map((e) => Repo.fromJson(json))
|
||||
.map((e) => Repo.fromJson(e))
|
||||
.toList();
|
||||
}
|
||||
if (json['animeExtensionsRepo'] != null) {
|
||||
animeExtensionsRepo = json['animeExtensionsRepo'] is String
|
||||
? [Repo(jsonUrl: json['animeExtensionsRepo'])]
|
||||
: (json['animeExtensionsRepo'] as List)
|
||||
.map((e) => Repo.fromJson(json))
|
||||
.map((e) => Repo.fromJson(e))
|
||||
.toList();
|
||||
}
|
||||
if (json['novelExtensionsRepo'] != null) {
|
||||
novelExtensionsRepo = json['novelExtensionsRepo'] is String
|
||||
? [Repo(jsonUrl: json['novelExtensionsRepo'])]
|
||||
: (json['novelExtensionsRepo'] as List)
|
||||
.map((e) => Repo.fromJson(json))
|
||||
.map((e) => Repo.fromJson(e))
|
||||
.toList();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue