When creating a new routing rule, add it to the top
This commit is contained in:
1 parent
3e09adc4d1
commit
2dc0472c69
1 file changed
+1
-1
@@ -95,7 +95,7 @@ object SettingsManager {
|
||||
if (rulesetList.isNullOrEmpty()) return
|
||||
|
||||
if (index < 0 || index >= rulesetList.count()) {
|
||||
rulesetList.add(ruleset)
|
||||
rulesetList.add(0, ruleset)
|
||||
} else {
|
||||
rulesetList[index] = ruleset
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user