diff --git a/app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCaptureActivity.kt b/app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCaptureActivity.kt index d853902964..7053dc8c81 100644 --- a/app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCaptureActivity.kt +++ b/app/src/main/java/org/dhis2/usescases/eventsWithoutRegistration/eventCapture/EventCaptureActivity.kt @@ -202,8 +202,8 @@ class EventCaptureActivity : setUpNavigationBar() setUpEventCaptureFormLandscape(newEventUid) showProgress() - presenter!!.initNoteCounter() - presenter!!.init() + presenter.initNoteCounter() + presenter.init() } }