Merge pull request #1871 from Hafizzle/Hafiz/avatar-customization-filter-fix

Avatar Background filter by month fix
This commit is contained in:
Phillip Thelen 2022-10-31 09:39:49 +01:00 committed by GitHub
commit 67c0978ffc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -227,7 +227,7 @@ class AvatarCustomizationFragment :
): Boolean {
return if (filter.onlyPurchased && ownedCustomizations.find { it.key == customization.identifier } == null) {
true
} else filter.months.isNotEmpty() && !filter.months.contains(customization.customizationSetName?.substringAfter('.'))
} else filter.months.isNotEmpty() && !filter.months.contains(customization.customizationSet?.substringAfter('.'))
}
fun updateUser(user: User?) {