From 1cc8ac5de83fd2c03cce634d6404d589702e9eb6 Mon Sep 17 00:00:00 2001 From: jacques Date: Tue, 19 Sep 2023 08:00:14 +0200 Subject: [PATCH] Remove cast --- app/src/main/java/net/foucry/pilldroid/DrugListActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/net/foucry/pilldroid/DrugListActivity.java b/app/src/main/java/net/foucry/pilldroid/DrugListActivity.java index 35127f4..9b601e6 100644 --- a/app/src/main/java/net/foucry/pilldroid/DrugListActivity.java +++ b/app/src/main/java/net/foucry/pilldroid/DrugListActivity.java @@ -349,7 +349,7 @@ public class DrugListActivity extends AppCompatActivity { ok.setEnabled(false); ok.setBackground(getDrawable(R.drawable.rounded_btn_disabled)); //TextView title = (TextView ) dialog.findViewById(R.id.title); - final EditText editText=(EditText)dialog.findViewById(R.id.editcip13); + final EditText editText= dialog.findViewById(R.id.editcip13); String cip13 = String.valueOf(editText.getText()); // TODO change the color of ok button when the number of character is correct.