diff options
| author | TrainDoctor <traindoctor@protonmail.com> | 2022-08-12 11:45:29 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-12 11:45:29 -0700 |
| commit | 9556994e140f5fcc3ea44f2a297de6e218e55ade (patch) | |
| tree | 14279cd1bd509fe835b4402811820601d0bb168c /frontend | |
| parent | dee2cfa47ba8d473d48f12b023f92780e557de6a (diff) | |
| download | decky-loader-9556994e140f5fcc3ea44f2a297de6e218e55ade.tar.gz decky-loader-9556994e140f5fcc3ea44f2a297de6e218e55ade.zip | |
fix empty settings and store screens after rebootv2.0.5-pre.5
Diffstat (limited to 'frontend')
| -rw-r--r-- | frontend/src/tabs-hook.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/tabs-hook.ts b/frontend/src/tabs-hook.ts index b83a1e97..ffa87464 100644 --- a/frontend/src/tabs-hook.ts +++ b/frontend/src/tabs-hook.ts @@ -103,7 +103,7 @@ class TabsHook extends Logger { } deinit() { - unpatch(this.cNode.stateNode, 'render'); + if (this.cNode) unpatch(this.cNode.stateNode, 'render'); if (this.qAPTree) this.qAPTree.type = this.quickAccess; if (this.rendererTree) this.rendererTree.type = this.tabRenderer; if (this.cNode) this.cNode.stateNode.forceUpdate(); |
