mirror of
https://github.com/moparisthebest/k-9
synced 2025-02-17 07:30:16 -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) {
|
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) {
|
public static void actionHandleAccount(Context context, Account account, boolean startup) {
|
||||||
@ -533,7 +533,8 @@ public class FolderList extends K9ListActivity {
|
|||||||
private void onAccounts() {
|
private void onAccounts() {
|
||||||
// If we're a child activity (say because Welcome dropped us straight to the message list
|
// 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
|
// 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));
|
startActivity(new Intent(this, Accounts.class));
|
||||||
}
|
}
|
||||||
finish();
|
finish();
|
||||||
|
@ -599,7 +599,8 @@ public class MessageList extends K9ListActivity {
|
|||||||
private void onShowFolderList() {
|
private void onShowFolderList() {
|
||||||
// If we're a child activity (say because Welcome dropped us straight to the message list
|
// 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
|
// 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);
|
FolderList.actionHandleAccount(this, mAccount, false);
|
||||||
}
|
}
|
||||||
finish();
|
finish();
|
||||||
|
Loading…
Reference in New Issue
Block a user