mirror of
https://github.com/mihonapp/mihon.git
synced 2025-10-09 04:49:33 +02:00
Workaround a crash related to saving instance state and child controllers
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user