mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-14 10:51:17 +00:00
Added icons
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
|
||||
import '../../../../model/source.dart';
|
||||
import '../../../../utils/utils.dart';
|
||||
|
||||
const comickVersion = "0.0.11";
|
||||
const comickSourceCodeUrl =
|
||||
@@ -8,8 +8,7 @@ const comickSourceCodeUrl =
|
||||
const defaultDateFormat = "yyyy-MM-dd'T'HH:mm:ss'Z'";
|
||||
const defaultDateFormatLocale = "en";
|
||||
|
||||
const iconUrl =
|
||||
'https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/icon/mangayomi-all-comickfun.png';
|
||||
String iconUrl = getIconUrl("comickfun", "all");
|
||||
const apiUrl = 'https://api.comick.fun';
|
||||
const baseUrl = 'https://comick.app';
|
||||
const isNsfw = true;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import '../../../../model/source.dart';
|
||||
import '../../../../utils/utils.dart';
|
||||
|
||||
const apiUrl = 'https://api.mangadex.org';
|
||||
const baseUrl = 'https://mangadex.org';
|
||||
@@ -6,7 +7,7 @@ const isNsfw = true;
|
||||
const mangadexVersion = "0.0.13";
|
||||
const mangadexSourceCodeUrl =
|
||||
"https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/manga/src/all/mangadex/mangadex-v$mangadexVersion.dart";
|
||||
const iconUrl = 'https://raw.githubusercontent.com/kodjodevf/mangayomi-extensions/main/icon/mangayomi-all-mangadex.png';
|
||||
String _iconUrl = getIconUrl("mangadex", "all");
|
||||
List<Source> get mangaDexSourcesList => _mangaDexSourcesList;
|
||||
List<Source> _mangaDexSourcesList = [
|
||||
Source(
|
||||
@@ -15,7 +16,7 @@ List<Source> _mangaDexSourcesList = [
|
||||
baseUrl: baseUrl,
|
||||
lang: 'en',
|
||||
typeSource: "mangadex",
|
||||
iconUrl: iconUrl,
|
||||
iconUrl: _iconUrl,
|
||||
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
|
||||
isNsfw: isNsfw,
|
||||
dateFormatLocale: 'en_Us',
|
||||
@@ -27,7 +28,7 @@ List<Source> _mangaDexSourcesList = [
|
||||
baseUrl: baseUrl,
|
||||
lang: 'ar',
|
||||
typeSource: "mangadex",
|
||||
iconUrl: iconUrl,
|
||||
iconUrl: _iconUrl,
|
||||
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
|
||||
isNsfw: isNsfw,
|
||||
dateFormatLocale: 'en_Us',
|
||||
@@ -39,7 +40,7 @@ List<Source> _mangaDexSourcesList = [
|
||||
baseUrl: baseUrl,
|
||||
lang: 'pt',
|
||||
typeSource: "mangadex",
|
||||
iconUrl: iconUrl,
|
||||
iconUrl: _iconUrl,
|
||||
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
|
||||
isNsfw: isNsfw,
|
||||
dateFormatLocale: 'en_Us',
|
||||
@@ -51,7 +52,7 @@ List<Source> _mangaDexSourcesList = [
|
||||
baseUrl: baseUrl,
|
||||
lang: 'pt-br',
|
||||
typeSource: "mangadex",
|
||||
iconUrl: iconUrl,
|
||||
iconUrl: _iconUrl,
|
||||
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
|
||||
isNsfw: isNsfw,
|
||||
dateFormatLocale: 'en_Us',
|
||||
@@ -63,7 +64,7 @@ List<Source> _mangaDexSourcesList = [
|
||||
baseUrl: baseUrl,
|
||||
lang: 'it',
|
||||
typeSource: "mangadex",
|
||||
iconUrl: iconUrl,
|
||||
iconUrl: _iconUrl,
|
||||
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
|
||||
isNsfw: isNsfw,
|
||||
dateFormatLocale: 'en_Us',
|
||||
@@ -75,7 +76,7 @@ List<Source> _mangaDexSourcesList = [
|
||||
baseUrl: baseUrl,
|
||||
lang: 'ru',
|
||||
typeSource: "mangadex",
|
||||
iconUrl: iconUrl,
|
||||
iconUrl: _iconUrl,
|
||||
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
|
||||
isNsfw: isNsfw,
|
||||
dateFormatLocale: 'en_Us',
|
||||
@@ -87,7 +88,7 @@ List<Source> _mangaDexSourcesList = [
|
||||
baseUrl: baseUrl,
|
||||
lang: 'es',
|
||||
typeSource: "mangadex",
|
||||
iconUrl: iconUrl,
|
||||
iconUrl: _iconUrl,
|
||||
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
|
||||
isNsfw: isNsfw,
|
||||
dateFormatLocale: 'en_Us',
|
||||
@@ -99,7 +100,7 @@ List<Source> _mangaDexSourcesList = [
|
||||
baseUrl: baseUrl,
|
||||
lang: 'es-419',
|
||||
typeSource: "mangadex",
|
||||
iconUrl: iconUrl,
|
||||
iconUrl: _iconUrl,
|
||||
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
|
||||
isNsfw: isNsfw,
|
||||
dateFormatLocale: 'en_Us',
|
||||
@@ -111,7 +112,7 @@ List<Source> _mangaDexSourcesList = [
|
||||
baseUrl: baseUrl,
|
||||
lang: 'id',
|
||||
typeSource: "mangadex",
|
||||
iconUrl: iconUrl,
|
||||
iconUrl: _iconUrl,
|
||||
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
|
||||
isNsfw: isNsfw,
|
||||
dateFormatLocale: 'en_Us',
|
||||
@@ -123,7 +124,7 @@ List<Source> _mangaDexSourcesList = [
|
||||
baseUrl: baseUrl,
|
||||
lang: 'hi',
|
||||
typeSource: "mangadex",
|
||||
iconUrl: iconUrl,
|
||||
iconUrl: _iconUrl,
|
||||
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
|
||||
isNsfw: isNsfw,
|
||||
dateFormatLocale: 'en_Us',
|
||||
@@ -135,7 +136,7 @@ List<Source> _mangaDexSourcesList = [
|
||||
baseUrl: baseUrl,
|
||||
lang: 'de',
|
||||
typeSource: "mangadex",
|
||||
iconUrl: iconUrl,
|
||||
iconUrl: _iconUrl,
|
||||
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
|
||||
isNsfw: isNsfw,
|
||||
dateFormatLocale: 'en_Us',
|
||||
@@ -147,7 +148,7 @@ List<Source> _mangaDexSourcesList = [
|
||||
baseUrl: baseUrl,
|
||||
lang: 'ja',
|
||||
typeSource: "mangadex",
|
||||
iconUrl: iconUrl,
|
||||
iconUrl: _iconUrl,
|
||||
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
|
||||
isNsfw: isNsfw,
|
||||
dateFormatLocale: 'en_Us',
|
||||
@@ -159,7 +160,7 @@ List<Source> _mangaDexSourcesList = [
|
||||
baseUrl: baseUrl,
|
||||
lang: 'tr',
|
||||
typeSource: "mangadex",
|
||||
iconUrl: iconUrl,
|
||||
iconUrl: _iconUrl,
|
||||
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
|
||||
isNsfw: isNsfw,
|
||||
dateFormatLocale: 'en_Us',
|
||||
@@ -171,7 +172,7 @@ List<Source> _mangaDexSourcesList = [
|
||||
baseUrl: baseUrl,
|
||||
lang: 'pl',
|
||||
typeSource: "mangadex",
|
||||
iconUrl: iconUrl,
|
||||
iconUrl: _iconUrl,
|
||||
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
|
||||
isNsfw: isNsfw,
|
||||
dateFormatLocale: 'en_Us',
|
||||
@@ -183,7 +184,7 @@ List<Source> _mangaDexSourcesList = [
|
||||
baseUrl: baseUrl,
|
||||
lang: 'zh',
|
||||
typeSource: "mangadex",
|
||||
iconUrl: iconUrl,
|
||||
iconUrl: _iconUrl,
|
||||
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
|
||||
isNsfw: isNsfw,
|
||||
dateFormatLocale: 'en_Us',
|
||||
@@ -195,7 +196,7 @@ List<Source> _mangaDexSourcesList = [
|
||||
baseUrl: baseUrl,
|
||||
lang: 'zh-hk',
|
||||
typeSource: "mangadex",
|
||||
iconUrl: iconUrl,
|
||||
iconUrl: _iconUrl,
|
||||
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
|
||||
isNsfw: isNsfw,
|
||||
dateFormatLocale: 'en_Us',
|
||||
@@ -207,7 +208,7 @@ List<Source> _mangaDexSourcesList = [
|
||||
baseUrl: baseUrl,
|
||||
lang: 'fr',
|
||||
typeSource: "mangadex",
|
||||
iconUrl: iconUrl,
|
||||
iconUrl: _iconUrl,
|
||||
dateFormat: "yyyy-MM-dd'T'HH:mm:ss+SSS",
|
||||
isNsfw: isNsfw,
|
||||
dateFormatLocale: 'en_Us',
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import '../../../../model/source.dart';
|
||||
import '../../../../utils/utils.dart';
|
||||
|
||||
Source get mangahereSource => _mangahereSource;
|
||||
const mangahereVersion = "0.0.11";
|
||||
@@ -9,7 +10,7 @@ Source _mangahereSource = Source(
|
||||
baseUrl: "http://www.mangahere.cc",
|
||||
lang: "en",
|
||||
typeSource: "single",
|
||||
iconUrl: '',
|
||||
iconUrl: getIconUrl("mangahere", "en"),
|
||||
sourceCodeUrl: mangahereSourceCodeUrl,
|
||||
version: mangahereVersion,
|
||||
dateFormat: "MMM dd,yyyy",
|
||||
|
||||
Reference in New Issue
Block a user