mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-23 18:02:15 -05:00
Fixed issue 522 and some minor navigation issue
This commit is contained in:
parent
c1ec077720
commit
2521e032a7
@ -346,7 +346,7 @@ public class FolderList extends K9ListActivity {
|
||||
}
|
||||
|
||||
public static void actionHandleAccount(Context context, Account account, String initialFolder) {
|
||||
actionHandleAccount(context, account, null, false);
|
||||
actionHandleAccount(context, account, initialFolder, false);
|
||||
}
|
||||
|
||||
public static void actionHandleAccount(Context context, Account account, boolean startup) {
|
||||
@ -533,7 +533,8 @@ public class FolderList extends K9ListActivity {
|
||||
private void onAccounts() {
|
||||
// If we're a child activity (say because Welcome dropped us straight to the message list
|
||||
// we won't have a parent activity and we'll need to get back to it
|
||||
if (mStartup) {
|
||||
if (mStartup
|
||||
|| isTaskRoot()) {
|
||||
startActivity(new Intent(this, Accounts.class));
|
||||
}
|
||||
finish();
|
||||
|
@ -599,7 +599,8 @@ public class MessageList extends K9ListActivity {
|
||||
private void onShowFolderList() {
|
||||
// If we're a child activity (say because Welcome dropped us straight to the message list
|
||||
// we won't have a parent activity and we'll need to get back to it
|
||||
if (mStartup) {
|
||||
if (mStartup
|
||||
|| isTaskRoot()) {
|
||||
FolderList.actionHandleAccount(this, mAccount, false);
|
||||
}
|
||||
finish();
|
||||
|
Loading…
Reference in New Issue
Block a user