From c7c90ea9191e0f7332d7105cee72f3e0f138d5cf Mon Sep 17 00:00:00 2001 From: Johannes Mockenhaupt Date: Mon, 16 Apr 2018 10:11:48 +0200 Subject: [PATCH] Proper fix. --- .../androidaps/plugins/Overview/Dialogs/NewInsulinDialog.java | 2 +- app/src/main/res/layout/overview_newinsulin_dialog.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/Overview/Dialogs/NewInsulinDialog.java b/app/src/main/java/info/nightscout/androidaps/plugins/Overview/Dialogs/NewInsulinDialog.java index 2ab8caaf8e..91a54895cc 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/Overview/Dialogs/NewInsulinDialog.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/Overview/Dialogs/NewInsulinDialog.java @@ -144,7 +144,7 @@ public class NewInsulinDialog extends DialogFragment implements OnClickListener LinearLayout notesLayout = view.findViewById(R.id.newinsulin_notes_layout); notesLayout.setVisibility(SP.getBoolean(R.string.key_show_notes_entry_dialogs, false) ? View.VISIBLE : View.GONE); - notesEdit = view.findViewById(R.id.newcarbs_notes); + notesEdit = view.findViewById(R.id.newinsulin_notes); setCancelable(true); getDialog().setCanceledOnTouchOutside(false); diff --git a/app/src/main/res/layout/overview_newinsulin_dialog.xml b/app/src/main/res/layout/overview_newinsulin_dialog.xml index 781ba60991..8103f4378b 100644 --- a/app/src/main/res/layout/overview_newinsulin_dialog.xml +++ b/app/src/main/res/layout/overview_newinsulin_dialog.xml @@ -157,7 +157,7 @@