Fix LoginFragment warnings
This commit is contained in:
parent
3bc4da9297
commit
1623340a77
1 changed files with 3 additions and 1 deletions
|
@ -16,6 +16,8 @@ import info.nerull7.mysqlbrowser.db.AsyncDatabaseConnector;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by nerull7 on 07.07.14.
|
* Created by nerull7 on 07.07.14.
|
||||||
|
*
|
||||||
|
* Fragment for login
|
||||||
*/
|
*/
|
||||||
public class LoginFragment extends Fragment implements View.OnClickListener, AsyncDatabaseConnector.BooleanReturnListener {
|
public class LoginFragment extends Fragment implements View.OnClickListener, AsyncDatabaseConnector.BooleanReturnListener {
|
||||||
private EditText urlTextbox;
|
private EditText urlTextbox;
|
||||||
|
@ -101,7 +103,7 @@ public class LoginFragment extends Fragment implements View.OnClickListener, Asy
|
||||||
startActivity(intent);
|
startActivity(intent);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
Static.showErrorAlert(Static.asyncDatabaseConnector.errorMsg, getActivity());
|
Static.showErrorAlert(AsyncDatabaseConnector.errorMsg, getActivity());
|
||||||
}
|
}
|
||||||
loginButton.setEnabled(true); // Now we can click button again
|
loginButton.setEnabled(true); // Now we can click button again
|
||||||
progressBar.setVisibility(View.INVISIBLE);
|
progressBar.setVisibility(View.INVISIBLE);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue