mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-24 10:22:15 -05:00
APG-related messageview bugfixes
This commit is contained in:
parent
0c426c9c4b
commit
8bc984f440
@ -751,6 +751,8 @@ public class MessageView extends K9Activity implements OnClickListener
|
|||||||
mMessageContentView.setVisibility(View.VISIBLE);
|
mMessageContentView.setVisibility(View.VISIBLE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setupDecryptLayout();
|
||||||
|
|
||||||
setTitle("");
|
setTitle("");
|
||||||
Intent intent = getIntent();
|
Intent intent = getIntent();
|
||||||
Uri uri = intent.getData();
|
Uri uri = intent.getData();
|
||||||
@ -815,13 +817,9 @@ public class MessageView extends K9Activity implements OnClickListener
|
|||||||
next.requestFocus();
|
next.requestFocus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
setupCryptoLayout();
|
|
||||||
setupHeaderLayout();
|
setupHeaderLayout();
|
||||||
setupButtonViews();
|
setupButtonViews();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
displayMessage(mMessageReference);
|
displayMessage(mMessageReference);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -938,7 +936,7 @@ public class MessageView extends K9Activity implements OnClickListener
|
|||||||
mAttachmentIcon.setVisibility(View.GONE);
|
mAttachmentIcon.setVisibility(View.GONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void setupCryptoLayout()
|
private void setupDecryptLayout()
|
||||||
{
|
{
|
||||||
mDecryptLayout = (View) findViewById(R.id.layout_decrypt);
|
mDecryptLayout = (View) findViewById(R.id.layout_decrypt);
|
||||||
mDecryptButton = (Button) findViewById(R.id.btn_decrypt);
|
mDecryptButton = (Button) findViewById(R.id.btn_decrypt);
|
||||||
@ -1025,8 +1023,7 @@ public class MessageView extends K9Activity implements OnClickListener
|
|||||||
{
|
{
|
||||||
super.onRestoreInstanceState(savedInstanceState);
|
super.onRestoreInstanceState(savedInstanceState);
|
||||||
setLoadPictures(savedInstanceState.getBoolean(SHOW_PICTURES));
|
setLoadPictures(savedInstanceState.getBoolean(SHOW_PICTURES));
|
||||||
initializeCrypto((PgpData) savedInstanceState.getSerializable(STATE_PGP_DATA)
|
initializeCrypto((PgpData) savedInstanceState.getSerializable(STATE_PGP_DATA));
|
||||||
);
|
|
||||||
updateDecryptLayout();
|
updateDecryptLayout();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user