Loading k9mail/src/main/java/com/fsck/k9/ui/messageview/MessageTopView.java +3 −1 Original line number Diff line number Diff line Loading @@ -112,6 +112,8 @@ public class MessageTopView extends LinearLayout implements ShowPicturesControll public void setMessage(Account account, MessageViewInfo messageViewInfo) throws MessagingException { resetView(); setShowDownloadButton(messageViewInfo.message); MessageCryptoDisplayStatus displayStatus = MessageCryptoDisplayStatus.fromResultAnnotation(messageViewInfo.cryptoResultAnnotation); mHeaderContainer.setCryptoStatus(displayStatus); Loading Loading @@ -278,7 +280,7 @@ public class MessageTopView extends LinearLayout implements ShowPicturesControll mDownloadRemainder.setEnabled(false); } public void setShowDownloadButton(Message message) { private void setShowDownloadButton(Message message) { if (message.isSet(Flag.X_DOWNLOADED_FULL)) { mDownloadRemainder.setVisibility(View.GONE); } else { Loading k9mail/src/main/java/com/fsck/k9/ui/messageview/MessageViewFragment.java +0 −1 Original line number Diff line number Diff line Loading @@ -238,7 +238,6 @@ public class MessageViewFragment extends Fragment implements ConfirmationDialogF messageCryptoPresenter.setMessageViewInfo(messageViewInfo); try { mMessageView.setMessage(mAccount, messageViewInfo); mMessageView.setShowDownloadButton(mMessage); } catch (MessagingException e) { Log.e(K9.LOG_TAG, "Error while trying to display message", e); } Loading Loading
k9mail/src/main/java/com/fsck/k9/ui/messageview/MessageTopView.java +3 −1 Original line number Diff line number Diff line Loading @@ -112,6 +112,8 @@ public class MessageTopView extends LinearLayout implements ShowPicturesControll public void setMessage(Account account, MessageViewInfo messageViewInfo) throws MessagingException { resetView(); setShowDownloadButton(messageViewInfo.message); MessageCryptoDisplayStatus displayStatus = MessageCryptoDisplayStatus.fromResultAnnotation(messageViewInfo.cryptoResultAnnotation); mHeaderContainer.setCryptoStatus(displayStatus); Loading Loading @@ -278,7 +280,7 @@ public class MessageTopView extends LinearLayout implements ShowPicturesControll mDownloadRemainder.setEnabled(false); } public void setShowDownloadButton(Message message) { private void setShowDownloadButton(Message message) { if (message.isSet(Flag.X_DOWNLOADED_FULL)) { mDownloadRemainder.setVisibility(View.GONE); } else { Loading
k9mail/src/main/java/com/fsck/k9/ui/messageview/MessageViewFragment.java +0 −1 Original line number Diff line number Diff line Loading @@ -238,7 +238,6 @@ public class MessageViewFragment extends Fragment implements ConfirmationDialogF messageCryptoPresenter.setMessageViewInfo(messageViewInfo); try { mMessageView.setMessage(mAccount, messageViewInfo); mMessageView.setShowDownloadButton(mMessage); } catch (MessagingException e) { Log.e(K9.LOG_TAG, "Error while trying to display message", e); } Loading