mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 19:59:05 +01:00
introduce a hideSoftKeyboard() method and use it
This commit is contained in:
@@ -118,7 +118,7 @@ implements OnEditorActionListener, OnClickListener {
|
||||
}
|
||||
|
||||
public boolean onEditorAction(TextView textView, int actionId, KeyEvent e) {
|
||||
toggleSoftKeyboard();
|
||||
hideSoftKeyboard(textView);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -134,7 +134,7 @@ implements OnEditorActionListener, OnClickListener {
|
||||
}
|
||||
|
||||
public void onClick(View view) {
|
||||
toggleSoftKeyboard();
|
||||
hideSoftKeyboard(view);
|
||||
if (!validateNickname()) return;
|
||||
// Replace the button with a progress bar
|
||||
createIdentityButton.setVisibility(GONE);
|
||||
|
||||
Reference in New Issue
Block a user