mirror of
https://github.com/venera-app/venera.git
synced 2025-09-28 08:17:25 +00:00
Merge branch 'master' into v1.2.4-dev
This commit is contained in:
@@ -156,7 +156,7 @@ class _Settings with ChangeNotifier {
|
||||
'customImageProcessing': defaultCustomImageProcessing,
|
||||
'sni': true,
|
||||
'autoAddLanguageFilter': 'none', // none, chinese, english, japanese
|
||||
'comicSourceListUrl': "https://raw.githubusercontent.com/venera-app/venera-configs/master/index.json",
|
||||
'comicSourceListUrl': "https://cdn.jsdelivr.net/gh/venera-app/venera-configs@latest/index.json",
|
||||
};
|
||||
|
||||
operator [](String key) {
|
||||
|
@@ -86,7 +86,7 @@ class _AboutSettingsState extends State<AboutSettings> {
|
||||
|
||||
Future<bool> checkUpdate() async {
|
||||
var res = await AppDio().get(
|
||||
"https://raw.githubusercontent.com/venera-app/venera/refs/heads/master/pubspec.yaml");
|
||||
"https://cdn.jsdelivr.net/gh/venera-app/venera@latest/pubspec.yaml");
|
||||
if (res.statusCode == 200) {
|
||||
var data = loadYaml(res.data);
|
||||
if (data["version"] != null) {
|
||||
|
@@ -15,9 +15,6 @@ extension TagsTranslation on String{
|
||||
static final Map<String, Map<String, String>> _data = {};
|
||||
|
||||
static Future<void> readData() async{
|
||||
if(App.locale.languageCode != "zh"){
|
||||
return;
|
||||
}
|
||||
var fileName = App.locale.countryCode == 'TW'
|
||||
? "assets/tags_tw.json"
|
||||
: "assets/tags.json";
|
||||
|
Reference in New Issue
Block a user