diff --git a/CHANGELOG.md b/CHANGELOG.md index 00f5576..e118500 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 7.2.4 + +**🔄 Modified:** + +* `Country::findCountries` → fix bloomer + ## 7.2.0 **🔄 Modified:** diff --git a/inputmask/src/main/kotlin/com/redmadrobot/inputmask/model/Country.kt b/inputmask/src/main/kotlin/com/redmadrobot/inputmask/model/Country.kt index 3a40769..efe8ae3 100644 --- a/inputmask/src/main/kotlin/com/redmadrobot/inputmask/model/Country.kt +++ b/inputmask/src/main/kotlin/com/redmadrobot/inputmask/model/Country.kt @@ -59,7 +59,7 @@ data class Country( val excludingTermsLowercased = excludingTerms?.map { it.lowercase() } ?: listOf() val phoneDigits = phone.filter(Char::isDigit) - return customCountries ?: all.filter { + return (customCountries ?: all).filter { var include: Boolean = false if (includingTerms != null) {