1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-23 18:02:15 -05:00

Hide side bar when not showing the crypto header view

This commit is contained in:
cketti 2015-02-17 23:18:46 +01:00
parent 132ede425b
commit ab8746ffe9

View File

@ -421,10 +421,11 @@ public class MessageContainerView extends LinearLayout implements OnClickListene
openPgpHeaderView.setOpenPgpData(messageViewContainer.signatureResult, messageViewContainer.encrypted, openPgpHeaderView.setOpenPgpData(messageViewContainer.signatureResult, messageViewContainer.encrypted,
messageViewContainer.pgpPendingIntent); messageViewContainer.pgpPendingIntent);
openPgpHeaderView.setCallback(openPgpHeaderViewCallback); openPgpHeaderView.setCallback(openPgpHeaderViewCallback);
mSidebar.setVisibility(View.VISIBLE);
} else {
mSidebar.setVisibility(View.GONE);
} }
mSidebar.setVisibility(View.VISIBLE);
if (mText != null) { if (mText != null) {
loadBodyFromText(mText); loadBodyFromText(mText);
} else { } else {