Skip to content

Commit

Permalink
fix: [ANDROAPP-6535] remove code smells
Browse files Browse the repository at this point in the history
Signed-off-by: andresmr <[email protected]>
  • Loading branch information
andresmr committed Dec 18, 2024
1 parent 1f6484c commit 50e1cbf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
import org.hisp.dhis.android.core.relationship.Relationship;
import org.hisp.dhis.android.core.relationship.RelationshipItem;
import org.hisp.dhis.android.core.relationship.RelationshipItemTrackedEntityInstance;
import org.hisp.dhis.android.core.relationship.RelationshipType;
import org.hisp.dhis.android.core.settings.AnalyticsDhisVisualizationsGroup;
import org.hisp.dhis.android.core.settings.ProgramConfigurationSetting;
import org.hisp.dhis.android.core.trackedentity.TrackedEntityAttribute;
Expand Down Expand Up @@ -418,9 +417,6 @@ private void setRelationshipsInfo(@NonNull SearchTeiModel searchTeiModel, Progra
);
for (Relationship relationship : relationships) {
if (relationship.from().trackedEntityInstance() != null) {
RelationshipType relationshipType =
d2.relationshipModule().relationshipTypes().uid(relationship.relationshipType()).blockingGet();

String relationshipTEIUid;
RelationshipDirection direction;
if (!searchTeiModel.getTei().uid().equals(relationship.from().trackedEntityInstance().trackedEntityInstance())) {
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ kotlin = '2.0.20'
hilt = '2.47'
jacoco = '0.8.10'
designSystem = "0.4.1-SNAPSHOT"
dhis2sdk = "1.11.1-20241218.080719-10"
dhis2sdk = "1.11.1-SNAPSHOT"
ruleEngine = "3.0.0"
expressionParser = "1.1.0"
appcompat = "1.6.1"
Expand Down

0 comments on commit 50e1cbf

Please sign in to comment.