mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-07 20:31:02 -05:00
Workaround a crash related to saving instance state and child controllers
This commit is contained in:
parent
00981cf4e8
commit
5c31271e91
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ public class NucleusConductorDelegate<P extends Presenter> {
|
||||||
|
|
||||||
Bundle onSaveInstanceState() {
|
Bundle onSaveInstanceState() {
|
||||||
Bundle bundle = new Bundle();
|
Bundle bundle = new Bundle();
|
||||||
getPresenter();
|
// getPresenter(); // Workaround a crash related to saving instance state with child routers
|
||||||
if (presenter != null) {
|
if (presenter != null) {
|
||||||
presenter.save(bundle);
|
presenter.save(bundle);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue