|
|
@@ -98,7 +98,10 @@ class BookSourceEditViewModel(application: Application) : BaseViewModel(applicat
|
|
|
}
|
|
|
|
|
|
fun ruleComplete(rule: String?, preRule: String? = null, type: Int = 1): String? {
|
|
|
- return RuleComplete.autoComplete(rule, preRule, type, autoComplete)
|
|
|
+ if (autoComplete) {
|
|
|
+ return RuleComplete.autoComplete(rule, preRule, type)
|
|
|
+ }
|
|
|
+ return rule
|
|
|
}
|
|
|
|
|
|
}
|