Hide soft keyboard when reblogging post.

This commit is contained in:
akwizgran
2018-08-28 15:57:55 +01:00
parent ad4e8d51e9
commit 271efdd2bc
2 changed files with 2 additions and 1 deletions

View File

@@ -119,6 +119,7 @@ public class ReblogFragment extends BaseFragment implements TextInputListener {
@Override
public void onSendClick(String text) {
ui.input.hideSoftKeyboard();
String comment = getComment();
feedController.repeatPost(item, comment,
new UiExceptionHandler<DbException>(this) {

View File

@@ -134,7 +134,7 @@ public class WriteBlogPostActivity extends BriarActivity
@Override
public void onSendClick(String body) {
// hide publish button, show progress bar
hideSoftKeyboard(input);
input.hideSoftKeyboard();
input.setVisibility(GONE);
progressBar.setVisibility(VISIBLE);