mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-11-03 00:03:53 +01:00
As a fix for #750, a validation was added to filter out categories that were of form "... taken on ... 1990" or "... needing ... 2005". The conditional added for the fix was a bit loose than it should be as a result of which it filtered out all categories that had a year in its name. This is incorrect. Fix this by tigheting the conditional so that only categories that have a year, is not the present or previous year AND (contains "taken on" OR "needing") is filtered out. While doing so, turn an implicit precedence into an explicit one. |
||
|---|---|---|
| .. | ||
| src | ||
| build.gradle | ||
| proguard-rules.txt | ||
| test-proguard-rules.txt | ||