diff --git a/app/src/main/java/io/nekohasekai/sagernet/ui/AssetsActivity.kt b/app/src/main/java/io/nekohasekai/sagernet/ui/AssetsActivity.kt
index a4a2ed0b..41cbe82c 100644
--- a/app/src/main/java/io/nekohasekai/sagernet/ui/AssetsActivity.kt
+++ b/app/src/main/java/io/nekohasekai/sagernet/ui/AssetsActivity.kt
@@ -259,12 +259,14 @@ class AssetsActivity : ThemedActivity() {
} else {
repo = "SagerNet/sing-geosite"
}
- } else {
+ } else if (DataStore.rulesProvider == 1) {
if (file.name == assetNames[0]) {
repo = "soffchen/sing-geoip"
} else {
repo = "soffchen/sing-geosite"
}
+ } else {
+ repo = "Chocolate4U/Iran-sing-box-rules"
}
val client = Libcore.newHttpClient().apply {
diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml
index 4eff93cb..12ee17cc 100644
--- a/app/src/main/res/values/arrays.xml
+++ b/app/src/main/res/values/arrays.xml
@@ -358,6 +358,7 @@
- @string/route_rules_official
- Loyalsoldier (soffchen/sing-geosite)
+ - Chocolate4U/Iran-sing-box-rules
diff --git a/app/src/main/res/xml/global_preferences.xml b/app/src/main/res/xml/global_preferences.xml
index 6c50a4b7..76ee614b 100644
--- a/app/src/main/res/xml/global_preferences.xml
+++ b/app/src/main/res/xml/global_preferences.xml
@@ -127,7 +127,7 @@