From 24dca97a8790a2b95cc993c6f74b9ee5d8ed57db Mon Sep 17 00:00:00 2001 From: manu Date: Tue, 30 Apr 2024 09:38:53 +0200 Subject: [PATCH] fix: [ANDROAPP-6050] remove program name when scheduling event --- .../eventInitial/EventInitialActivity.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialActivity.java b/app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialActivity.java index 3aed5a82aac..2d77cda9928 100644 --- a/app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialActivity.java +++ b/app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventInitial/EventInitialActivity.java @@ -240,11 +240,9 @@ public void setProgram(@NonNull Program program) { private void setUpActivityTitle() { String activityTitle; if (eventCreationType == EventCreationType.REFERAL) { - activityTitle = program.displayName() + " - " + getString(R.string.referral); + activityTitle = getString(R.string.referral); } else { - activityTitle = eventUid == null ? - program.displayName() + " - " + resourceManager.formatWithEventLabel(R.string.new_event_label, programStageUid, 1, false) : program.displayName(); }