1
0
mirror of https://github.com/moparisthebest/k-9 synced 2025-02-25 15:11:52 -05:00

Minor reformatting

This commit is contained in:
Jesse Vincent 2010-01-09 23:49:44 +00:00
parent e49fdc9913
commit 0bdb02dc24

View File

@ -103,10 +103,8 @@ public class MessageList
private SORT_TYPE sortType = SORT_TYPE.SORT_DATE; private SORT_TYPE sortType = SORT_TYPE.SORT_DATE;
private boolean sortAscending = true; private boolean sortAscending = true;
private boolean sortDateAscending = false; private boolean sortDateAscending = false;
private boolean mLeftHanded = false; private boolean mLeftHanded = false;
private int mSelectedCount = 0; private int mSelectedCount = 0;
@ -223,7 +221,6 @@ public class MessageList
} }
}); });
} }
private void setWindowProgress() private void setWindowProgress()
{ {
int level = Window.PROGRESS_END; int level = Window.PROGRESS_END;
@ -246,7 +243,6 @@ public class MessageList
if (mFolderName != null) if (mFolderName != null)
{ {
displayName = mFolderName; displayName = mFolderName;
if (K9.INBOX.equalsIgnoreCase(displayName)) if (K9.INBOX.equalsIgnoreCase(displayName))
@ -275,7 +271,6 @@ public class MessageList
}); });
} }
} }
/** /**
@ -299,17 +294,9 @@ public class MessageList
public void onItemClick(AdapterView parent, View v, int position, long id) public void onItemClick(AdapterView parent, View v, int position, long id)
{ {
// Debug.stopMethodTracing(); if (mCurrentFolder != null && ((position+1) == mAdapter.getCount()))
if (
mCurrentFolder != null
&&
((position+1) == mAdapter.getCount())
)
{ {
mController.loadMoreMessages( mController.loadMoreMessages(mAccount, mFolderName, mAdapter.mListener);
mAccount,
mFolderName,
mAdapter.mListener);
return; return;
} }
else if (mSelectedWidget == WIDGET_MULTISELECT) else if (mSelectedWidget == WIDGET_MULTISELECT)
@ -649,10 +636,6 @@ public class MessageList
} }
}//onKeyDown }//onKeyDown
private void onOpenMessage(MessageInfoHolder message) private void onOpenMessage(MessageInfoHolder message)
{ {
if (message.folder.name.equals(message.account.getDraftsFolderName())) if (message.folder.name.equals(message.account.getDraftsFolderName()))