diff --git a/iNaturalist/src/main/AndroidManifest.xml b/iNaturalist/src/main/AndroidManifest.xml index cb32cf7d..b67a41d2 100644 --- a/iNaturalist/src/main/AndroidManifest.xml +++ b/iNaturalist/src/main/AndroidManifest.xml @@ -2,8 +2,8 @@ + android:versionCode="603" + android:versionName="1.30.10"> diff --git a/iNaturalist/src/main/java/org/inaturalist/android/DataQualityAssessment.java b/iNaturalist/src/main/java/org/inaturalist/android/DataQualityAssessment.java index 014d94e6..90a8307e 100644 --- a/iNaturalist/src/main/java/org/inaturalist/android/DataQualityAssessment.java +++ b/iNaturalist/src/main/java/org/inaturalist/android/DataQualityAssessment.java @@ -316,8 +316,10 @@ private void refreshMetrics() { metrics.add(new DataQualityItem(R.drawable.wild, R.string.organism_is_wild, "wild", true)); metrics.add(new DataQualityItem(R.drawable.magnifying_glass, R.string.evidence_of_organism, "evidence", true)); metrics.add(new DataQualityItem(R.drawable.clock_o, R.string.recent_evidence_of_an_organism, "recent", true)); + metrics.add(new DataQualityItem(R.drawable.subject, R.string.evidence_related_to_single_subject, "subject", true)); metrics.add(new DataQualityItem(R.drawable.leaf, R.string.community_id_at_species_level_or_lower, "community_id", false)); + Logger.tag("AAA").error(mMetricsVotes); for (int i = 0; i < mMetricsVotes.length(); i++) { JSONObject vote = mMetricsVotes.optJSONObject(i); @@ -338,6 +340,9 @@ private void refreshMetrics() { case "recent": index = 8; break; + case "subject": + index = 9; + break; } @@ -389,9 +394,9 @@ private void refreshMetrics() { } if ((mObservation.getJSONObject("community_taxon") != null) && (mObservation.getJSONObject("community_taxon").optInt("rank_level") <= 10)) { - metrics.get(9).agreeCount = 1; + metrics.get(10).agreeCount = 1; } else { - metrics.get(9).disagreeCount = 1; + metrics.get(10).disagreeCount = 1; } mDataQualityList.setAdapter(new DataQualityAdapter(this, this, metrics)); diff --git a/iNaturalist/src/main/res/values/strings.xml b/iNaturalist/src/main/res/values/strings.xml index a15aa088..163e79e7 100644 --- a/iNaturalist/src/main/res/values/strings.xml +++ b/iNaturalist/src/main/res/values/strings.xml @@ -732,6 +732,7 @@ Community ID at species level or lower Based on the evidence, can the Community ID still be confirmed or improved? No, it\'s as good as it can be + Evidence related to a single subject Seasonality Verifiable No Annotation