1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 04:35:57 +00:00

Close thread view on archive

This commit is contained in:
M66B 2018-10-10 14:29:22 +00:00
parent 67b2f1ca5b
commit 643770b139

View file

@ -1140,8 +1140,11 @@ public class FragmentMessage extends FragmentEx {
@Override
protected void onLoaded(Bundle args, Boolean close) {
Helper.setViewsEnabled(view, true);
if (close) // archived message
if (close) { // archived message
getFragmentManager().popBackStack();
if (message.threaded)
getFragmentManager().popBackStack();
}
}
@Override
@ -1194,6 +1197,8 @@ public class FragmentMessage extends FragmentEx {
@Override
protected void onLoaded(Bundle args, Void result) {
getFragmentManager().popBackStack();
if (message.threaded)
getFragmentManager().popBackStack();
Helper.setViewsEnabled(view, true);
}