Add Russia whitelist routing option (#5161)

* Add Russia whitelist routing option

* Update RoutingType.kt

* Add custom routing file in assets

* Update localization
This commit is contained in:
Umor1st
2026-01-15 05:34:11 +03:00
committed by GitHub
parent ee69364f2b
commit 192a4afe6d
9 changed files with 52 additions and 0 deletions
@@ -5,6 +5,7 @@ enum class RoutingType(val fileName: String) {
BLACK("custom_routing_black"),
GLOBAL("custom_routing_global"),
WHITE_IRAN("custom_routing_white_iran");
WHITE_RUSSIA("custom_routing_white_russia")
companion object {
fun fromIndex(index: Int): RoutingType {
@@ -13,6 +14,7 @@ enum class RoutingType(val fileName: String) {
1 -> BLACK
2 -> GLOBAL
3 -> WHITE_IRAN
4 -> WHITE_RUSSIA
else -> WHITE
}
}