mirror of
https://github.com/kodjodevf/mangayomi-extensions.git
synced 2026-02-14 19:01:15 +00:00
ZoroTheme: add 'Raw' option for type selection
This commit is contained in:
@@ -15,6 +15,6 @@ List<Source> _zorothemeSourcesList = [
|
|||||||
]
|
]
|
||||||
.map((e) => e
|
.map((e) => e
|
||||||
..sourceCodeUrl = _zorothemeSourceCodeUrl
|
..sourceCodeUrl = _zorothemeSourceCodeUrl
|
||||||
..appMinVerReq = "0.4.0"
|
..appMinVerReq = "0.4.1"
|
||||||
..version = _zorothemeVersion)
|
..version = _zorothemeVersion)
|
||||||
.toList();
|
.toList();
|
||||||
|
|||||||
@@ -590,12 +590,12 @@ class ZoroTheme extends MProvider {
|
|||||||
entryValues: ["HD-1", "HD-2", "StreamTape"],
|
entryValues: ["HD-1", "HD-2", "StreamTape"],
|
||||||
values: ["HD-1", "HD-2", "StreamTape"]),
|
values: ["HD-1", "HD-2", "StreamTape"]),
|
||||||
MultiSelectListPreference(
|
MultiSelectListPreference(
|
||||||
key: "type_selection",
|
key: "type_selection_new",
|
||||||
title: "Enable/Disable Types",
|
title: "Enable/Disable Types",
|
||||||
summary: "",
|
summary: "",
|
||||||
entries: ["Sub", "Dub"],
|
entries: ["Sub", "Dub", "Raw"],
|
||||||
entryValues: ["sub", "dub"],
|
entryValues: ["sub", "dub"],
|
||||||
values: ["sub", "dub"]),
|
values: ["sub", "dub", "raw"]),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -636,7 +636,7 @@ class ZoroTheme extends MProvider {
|
|||||||
}
|
}
|
||||||
|
|
||||||
List<String> preferenceTypeSelection(int sourceId) {
|
List<String> preferenceTypeSelection(int sourceId) {
|
||||||
return getPreferenceValue(sourceId, "type_selection");
|
return getPreferenceValue(sourceId, "type_selection_new");
|
||||||
}
|
}
|
||||||
|
|
||||||
String ll(String url) {
|
String ll(String url) {
|
||||||
@@ -651,6 +651,8 @@ ZoroTheme main(MSource source) {
|
|||||||
return ZoroTheme(source: source);
|
return ZoroTheme(source: source);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// credits: https://github.com/Kohi-den/extensions-source/tree/main/lib/megacloud-extractor/src/main
|
||||||
|
|
||||||
const decodePng = """"use strict";
|
const decodePng = """"use strict";
|
||||||
// https://megacloud.tv/images/image.png?v=0.1.0
|
// https://megacloud.tv/images/image.png?v=0.1.0
|
||||||
window.decoded_png = new Uint8ClampedArray([
|
window.decoded_png = new Uint8ClampedArray([
|
||||||
|
|||||||
Reference in New Issue
Block a user