Merge branch 'main' of hiddify-github:hiddify/hiddify-next

This commit is contained in:
hiddify-com
2024-07-04 21:06:12 +02:00
8 changed files with 26 additions and 22 deletions

View File

@@ -10,6 +10,7 @@ extension AppLocaleX on AppLocale {
"en" => "English",
"fa" => "فارسی",
"ar" => "العربية",
"ckb-KUR" => "کوردی سۆرانی",
"ru" => "Русский",
"zh" || "zh_CN" => "中文 (中国)",
"zh_TW" => "中文 (台湾)",

View File

@@ -112,7 +112,7 @@ abstract class ConfigOptions {
static final connectionTestUrl = PreferencesNotifier.create<String, String>(
"connection-test-url",
"http://cp.cloudflare.com/",
"https://www.gstatic.com/generate_204",
validator: (value) => value.isNotBlank && isUrl(value),
);