Skip to content

Commit 4e51492

Browse files
author
Aryan Tyagi
authored
Removed the focus change listener of the username edittext (commons-app#3538)
1 parent 0ad269d commit 4e51492

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

app/src/main/java/fr/free/nrw/commons/auth/LoginActivity.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -145,13 +145,6 @@ public void onCreate(Bundle savedInstanceState) {
145145
}
146146
}
147147

148-
@OnFocusChange(R.id.login_username)
149-
void onUsernameFocusChanged(View view, boolean hasFocus) {
150-
if (!hasFocus) {
151-
ViewUtil.hideKeyboard(view);
152-
}
153-
}
154-
155148
@OnFocusChange(R.id.login_password)
156149
void onPasswordFocusChanged(View view, boolean hasFocus) {
157150
if (!hasFocus) {

0 commit comments

Comments
 (0)