diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java b/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java index efbfa703f..d0bacc245 100644 --- a/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java +++ b/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java @@ -253,12 +253,11 @@ public class MessageAdapter extends ArrayAdapter<Message> implements CopyTextVie DownloadableFile file = activity.xmppConnectionService.getFileBackend().getFile(message); if (file.exists()) { if (activity.xmppConnectionService.mHttpConnectionManager.getAutoAcceptFileSize() >= message.getFileParams().size) { - isResendable = false; + isResendable = true; viewHolder.resend_button.setVisibility(View.GONE); } else { - isResendable = true; + isResendable = false; viewHolder.resend_button.setVisibility(View.VISIBLE); - } } viewHolder.resend_button.setText(R.string.send_again); |