Skip to content
This repository has been archived by the owner on Nov 3, 2019. It is now read-only.

Commit

Permalink
making requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonIT committed Feb 5, 2019
1 parent 39f6408 commit 9e2b08b
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,14 @@
import android.util.Log;
import android.util.Patterns;
import android.view.View;
import android.widget.*;
import android.widget.ArrayAdapter;
import android.widget.AutoCompleteTextView;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.ProgressBar;
import android.widget.RelativeLayout;
import android.widget.TextView;
import de.perflyst.untis.R;
import de.perflyst.untis.utils.Constants;
import de.perflyst.untis.utils.ListManager;
Expand Down Expand Up @@ -141,8 +148,9 @@ private void restoreInput(SharedPreferences prefs) {
mEtUser.setText(prefs.getString("etUser", ""));
mEtKey.setText(prefs.getString("etKey", ""));

if (!mEtUrl.getText().toString().isEmpty())
if (!mEtUrl.getText().toString().isEmpty()) {
mBtnLogin.requestFocus();
}
}

private void loadData() {
Expand Down

0 comments on commit 9e2b08b

Please sign in to comment.