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

Disable the delete button after it's tapped (to try to prevent

accidental clicks)
This commit is contained in:
Jesse Vincent 2010-07-11 15:39:52 +00:00
parent 5d514c2ace
commit 227ee95532

View File

@ -107,7 +107,7 @@ public class MessageView extends K9Activity implements OnClickListener
View previous; View previous;
View previous_scrolling; View previous_scrolling;
private view mDelete; private View mDelete;
private View mArchive; private View mArchive;
private View mMove; private View mMove;
private View mSpam; private View mSpam;
@ -1083,6 +1083,7 @@ public class MessageView extends K9Activity implements OnClickListener
{ {
if (mMessage != null) if (mMessage != null)
{ {
disableButtons();
Message messageToDelete = mMessage; Message messageToDelete = mMessage;
if (K9.messageViewReturnToList()) if (K9.messageViewReturnToList())