|
@ -86,7 +86,6 @@ public final class DirectMessageThread extends BaseLanguageActivity { |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|
private final View.OnClickListener newCommentListener = v -> { |
|
|
private final View.OnClickListener newCommentListener = v -> { |
|
|
if (v == dmsBinding.commentSend) { |
|
|
|
|
|
if (Utils.isEmpty(dmsBinding.commentText.getText().toString())) { |
|
|
if (Utils.isEmpty(dmsBinding.commentText.getText().toString())) { |
|
|
Toast.makeText(getApplicationContext(), R.string.comment_send_empty_comment, Toast.LENGTH_SHORT).show(); |
|
|
Toast.makeText(getApplicationContext(), R.string.comment_send_empty_comment, Toast.LENGTH_SHORT).show(); |
|
|
return; |
|
|
return; |
|
@ -104,7 +103,6 @@ public final class DirectMessageThread extends BaseLanguageActivity { |
|
|
new UserInboxFetcher(threadid, UserInboxDirection.OLDER, null, fetchListener).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); |
|
|
new UserInboxFetcher(threadid, UserInboxDirection.OLDER, null, fetchListener).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); |
|
|
}); |
|
|
}); |
|
|
action.execute(); |
|
|
action.execute(); |
|
|
} |
|
|
|
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|