feat: microg-patch

This commit is contained in:
oSumAtrIX
2022-06-11 06:37:18 +02:00
parent 763f78a549
commit 48bbd574a5
5 changed files with 67 additions and 87 deletions

View File

@ -27,9 +27,9 @@ internal fun String.startsWithAny(vararg prefix: String): Boolean {
return false
}
internal fun String.containsAny(vararg others: String): Boolean {
for (other in others)
if (this.contains(other))
internal fun String.equalsAny(vararg other: String): Boolean {
for (_other in other)
if (this == _other)
return true
return false