1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 19:52:17 -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 boolean sortAscending = true;
private boolean sortDateAscending = false;
private boolean mLeftHanded = false;
private int mSelectedCount = 0;
@ -223,7 +221,6 @@ public class MessageList
}
});
}
private void setWindowProgress()
{
int level = Window.PROGRESS_END;
@ -246,7 +243,6 @@ public class MessageList
if (mFolderName != null)
{
displayName = mFolderName;
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)
{
// Debug.stopMethodTracing();
if (
mCurrentFolder != null
&&
((position+1) == mAdapter.getCount())
)
if (mCurrentFolder != null && ((position+1) == mAdapter.getCount()))
{
mController.loadMoreMessages(
mAccount,
mFolderName,
mAdapter.mListener);
mController.loadMoreMessages(mAccount, mFolderName, mAdapter.mListener);
return;
}
else if (mSelectedWidget == WIDGET_MULTISELECT)
@ -649,10 +636,6 @@ public class MessageList
}
}//onKeyDown
private void onOpenMessage(MessageInfoHolder message)
{
if (message.folder.name.equals(message.account.getDraftsFolderName()))