Skip to content
Snippets Groups Projects
Verified Commit c049c9c3 authored by Torsten Grote's avatar Torsten Grote
Browse files

re-show mailbox unpaired dialog after screen-rotation

parent a0de0a40
No related branches found
No related tags found
No related merge requests found
......@@ -79,6 +79,17 @@ public class MailboxActivity extends BriarActivity {
throw new AssertionError("Unknown state: " + state);
}
});
// re-show unpaired dialog, if it was previously shown
// Attention: When using BlankFragment for something else, this needs to
// be adapted.
if (savedInstanceState != null) {
FragmentManager fm = getSupportFragmentManager();
Fragment f = fm.findFragmentByTag(BlankFragment.TAG);
if (f != null && f.isAdded()) {
onUnPaired(true);
}
}
}
@Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment