summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrainDoctor <traindoctor@protonmail.com>2022-08-12 11:45:29 -0700
committerGitHub <noreply@github.com>2022-08-12 11:45:29 -0700
commit9556994e140f5fcc3ea44f2a297de6e218e55ade (patch)
tree14279cd1bd509fe835b4402811820601d0bb168c
parentdee2cfa47ba8d473d48f12b023f92780e557de6a (diff)
downloaddecky-loader-2.0.5-pre.5.tar.gz
decky-loader-2.0.5-pre.5.zip
fix empty settings and store screens after rebootv2.0.5-pre.5
-rw-r--r--frontend/src/tabs-hook.ts2
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();