mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-15 19:30:29 +00:00
apply change from review
This commit is contained in:
@@ -96,9 +96,10 @@ class Madara extends MProvider {
|
|||||||
if (chd != null && chd.text.isNotEmpty) {
|
if (chd != null && chd.text.isNotEmpty) {
|
||||||
var dates = parseDates(
|
var dates = parseDates(
|
||||||
[chd.text], source.dateFormat, source.dateFormatLocale);
|
[chd.text], source.dateFormat, source.dateFormatLocale);
|
||||||
if (dates.isNotEmpty) {
|
chapter.dateUpload = dates[0];
|
||||||
chapter.dateUpload = dates[0];
|
} else {
|
||||||
}
|
chapter.dateUpload =
|
||||||
|
DateTime.now().millisecondsSinceEpoch.toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
chapters.add(chapter);
|
chapters.add(chapter);
|
||||||
|
|||||||
Reference in New Issue
Block a user