mirror of https://github.com/M66B/FairEmail.git
Close thread view on archive
This commit is contained in:
parent
67b2f1ca5b
commit
643770b139
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue