From 0ef8af262f2fdb7223def3338bb3c38358e2a787 Mon Sep 17 00:00:00 2001 From: Johannes Mockenhaupt Date: Mon, 16 Apr 2018 01:38:56 +0200 Subject: [PATCH] NewInsulinDialog: fix botched notes field reference. --- .../androidaps/plugins/Overview/Dialogs/NewInsulinDialog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 d886673da5..2ab8caaf8e 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 @@ -142,7 +142,7 @@ public class NewInsulinDialog extends DialogFragment implements OnClickListener plus3Button.setOnClickListener(this); plus3Button.setText(toSignedString(SP.getDouble(MainApp.gs(R.string.key_insulin_button_increment_3), PLUS3_DEFAULT))); - LinearLayout notesLayout = view.findViewById(R.id.newcarbs_notes_layout); + 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);