Feature: change final detector to match
This commit is contained in:
parent
44347b29ec
commit
ba5ac07a25
|
@ -105,7 +105,7 @@ extension ConfigFileManager {
|
|||
static func checkFinalRuleAndShowAlert() {
|
||||
ApiRequest.getRules() {
|
||||
rules in
|
||||
let hasFinal = rules.reversed().contains(){$0.type == "FINAL"}
|
||||
let hasFinal = rules.reversed().contains(){$0.type == "MATCH"}
|
||||
if !hasFinal {
|
||||
showNoFinalRuleAlert()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue