Proper fix.

This commit is contained in:
Johannes Mockenhaupt 2018-04-16 10:11:48 +02:00
parent 0ef8af262f
commit c7c90ea919
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1
2 changed files with 3 additions and 3 deletions

View file

@ -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);

View file

@ -157,7 +157,7 @@
</LinearLayout>
<LinearLayout
android:id="@+id/newcarbs_notes_layout"
android:id="@+id/newinsulin_notes_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="5dp"
@ -174,7 +174,7 @@
android:textStyle="bold" />
<EditText
android:id="@+id/newcarbs_notes"
android:id="@+id/newinsulin_notes"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text|textCapSentences" />