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:
parent
132ede425b
commit
ab8746ffe9
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user