also count 2020s as "recent years"

This commit is contained in:
Matija Nalis 2024-06-24 02:17:11 +02:00
parent 81d553cf8c
commit d078b2d81a

View file

@ -50,7 +50,7 @@ class CategoriesModel @Inject constructor(
|| item.matches("(.*)needing(.*)".toRegex())
|| item.matches("(.*)taken on(.*)".toRegex())
|| item.matches(".*0s.*".toRegex())
&& !item.matches(".*(200|201)0s.*".toRegex())
&& !item.matches(".*20[0-2]0s.*".toRegex())
}
/**