1
0
mirror of https://gitlab.com/neothefox/LayTray synced 2026-03-23 21:54:54 +03:00

Fixed wrong cast

This commit is contained in:
NeoTheFox 2018-07-07 21:57:16 +03:00
parent d43eeb8b63
commit 7ac2d66907

View File

@ -145,7 +145,7 @@ implements View.OnClickListener, SharedPreferences.OnSharedPreferenceChangeListe
for (int i=0; i < count; i++) for (int i=0; i < count; i++)
{ {
LinearLayout layoutLine = (LinearLayout)parent.getChildAt(i); LinearLayout layoutLine = (LinearLayout)parent.getChildAt(i);
EditText layoutName = (EditText)layoutLine.getChildAt(0); TextView layoutName = (TextView)layoutLine.getChildAt(0);
EditText layoutIcon = (EditText)layoutLine.getChildAt(1); EditText layoutIcon = (EditText)layoutLine.getChildAt(1);
String layoutNameValue = layoutName.getText().toString(); String layoutNameValue = layoutName.getText().toString();
String layoutIconValue = layoutIcon.getText().toString(); String layoutIconValue = layoutIcon.getText().toString();