File tree 3 files changed +5
-2
lines changed
java/io/nekohasekai/sagernet/ui
3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -259,12 +259,14 @@ class AssetsActivity : ThemedActivity() {
259
259
} else {
260
260
repo = " SagerNet/sing-geosite"
261
261
}
262
- } else {
262
+ } else if ( DataStore .rulesProvider == 1 ) {
263
263
if (file.name == assetNames[0 ]) {
264
264
repo = " soffchen/sing-geoip"
265
265
} else {
266
266
repo = " soffchen/sing-geosite"
267
267
}
268
+ } else {
269
+ repo = " Chocolate4U/Iran-sing-box-rules"
268
270
}
269
271
270
272
val client = Libcore .newHttpClient().apply {
Original file line number Diff line number Diff line change 358
358
<string-array name =" rules_dat_provider" >
359
359
<item >@string/route_rules_official</item >
360
360
<item >Loyalsoldier (soffchen/sing-geosite)</item >
361
+ <item >Chocolate4U/Iran-sing-box-rules</item >
361
362
</string-array >
362
363
363
364
<string-array name =" balancer_type" >
Original file line number Diff line number Diff line change 127
127
<moe .matsuri.nb4a.ui.SimpleMenuPreference
128
128
app : defaultValue =" 0"
129
129
app : entries =" @array/rules_dat_provider"
130
- app : entryValues =" @array/int_array_2 "
130
+ app : entryValues =" @array/int_array_3 "
131
131
app : icon =" @drawable/ic_baseline_rule_folder_24"
132
132
app : key =" rulesProvider"
133
133
app : title =" @string/route_rules_provider"
You can’t perform that action at this time.
0 commit comments