mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-05-12 09:20:38 +00:00
+
This commit is contained in:
parent
8b84e18b6a
commit
206a51df69
2 changed files with 4 additions and 8 deletions
|
|
@ -21,13 +21,7 @@ class DartExtensionService implements ExtensionService {
|
|||
final interpreter = D4rt();
|
||||
RegistrerBridge.registerBridge(interpreter);
|
||||
|
||||
interpreter.execute(
|
||||
source.sourceCode!.replaceAll(
|
||||
"final Client client = Client(source)",
|
||||
"final Client client = Client()",
|
||||
),
|
||||
mainArgs: source.toMSource(),
|
||||
);
|
||||
interpreter.execute(source.sourceCode!, mainArgs: source.toMSource());
|
||||
return interpreter;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -49,7 +49,9 @@ Future<dynamic> updateMangaDetail(
|
|||
..artist =
|
||||
getManga.artist?.trim().trimLeft().trimRight() ?? manga.artist ?? ""
|
||||
..status =
|
||||
getManga.status == Status.unknown ? manga.status : getManga.status!
|
||||
getManga.status == Status.unknown
|
||||
? manga.status
|
||||
: getManga.status ?? Status.unknown
|
||||
..description =
|
||||
getManga.description?.trim().trimLeft().trimRight() ??
|
||||
manga.description ??
|
||||
|
|
|
|||
Loading…
Reference in a new issue