mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 01:21:52 +01:00
Workaround a crash related to saving instance state and child controllers
This commit is contained in:
parent
00981cf4e8
commit
5c31271e91
@ -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 New Issue
Block a user