Commit 5ce2e396 authored by Geoffrey Métais's avatar Geoffrey Métais

Fix Network server dialog

parent 931e73d5
......@@ -94,8 +94,8 @@ public class NetworkServerDialog extends DialogFragment implements AdapterView.O
View v = inflater.inflate(R.layout.network_server_dialog, container, false);
mEditAddress = ((TextInputLayout)v.findViewById(R.id.server_domain)).getEditText();
mEditAddressLayout = (TextInputLayout) mEditAddress.getParent();
mEditAddressLayout = (TextInputLayout) v.findViewById(R.id.server_domain);
mEditAddress = mEditAddressLayout.getEditText();
mEditFolder = ((TextInputLayout)v.findViewById(R.id.server_folder)).getEditText();
mEditUsername = ((TextInputLayout)v.findViewById(R.id.server_username)).getEditText();
mEditServername = ((TextInputLayout)v.findViewById(R.id.server_name)).getEditText();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment