mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 19:52:17 -05:00
Disable the delete button after it's tapped (to try to prevent
accidental clicks)
This commit is contained in:
parent
5d514c2ace
commit
227ee95532
@ -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())
|
||||||
|
Loading…
Reference in New Issue
Block a user