Fixed initial folder selection
This commit is contained in:
@@ -14,6 +14,11 @@ import i2p.bote.folder.EmailFolder;
|
||||
public class BoteHelper {
|
||||
private static AddressDisplayFilter ADDRESS_DISPLAY_FILTER;
|
||||
|
||||
/**
|
||||
* Get an EmailFolder. If the folder is not found, returns null.
|
||||
* @param folderName The folder to get.
|
||||
* @return the EmailFolder.
|
||||
*/
|
||||
public static EmailFolder getMailFolder(String folderName) {
|
||||
List<EmailFolder> folders = I2PBote.getInstance().getEmailFolders();
|
||||
for (EmailFolder folder : folders) {
|
||||
|
||||
@@ -96,7 +96,7 @@ public class MailListActivity extends ActionBarActivity {
|
||||
// Set the drawer toggle as the DrawerListener
|
||||
mDrawerLayout.setDrawerListener(mDrawerToggle);
|
||||
|
||||
mActiveFolder = "";
|
||||
mActiveFolder = "inbox";
|
||||
if (savedInstanceState != null) {
|
||||
mActiveFolder = savedInstanceState.getString(ACTIVE_FOLDER);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user