about summary refs log tree commit diff
path: root/src/state/shell
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2024-11-05 22:27:36 +0000
committerGitHub <noreply@github.com>2024-11-05 22:27:36 +0000
commit84fb1b7f97af7cdcaac1049d2c843c421d50539a (patch)
treeb4307d6599b3c600a732f41e123de7ab4c78f917 /src/state/shell
parentb0c5a37daabc04570d33776de6c13be87a795491 (diff)
downloadvoidsky-84fb1b7f97af7cdcaac1049d2c843c421d50539a.tar.zst
Update Reanimated (#6126)
* Update Reanimated

* Fix types

* Fix Reanimated value access warnings

* Fix types
Diffstat (limited to 'src/state/shell')
-rw-r--r--src/state/shell/minimal-mode.tsx8
-rw-r--r--src/state/shell/shell-layout.tsx8
2 files changed, 16 insertions, 0 deletions
diff --git a/src/state/shell/minimal-mode.tsx b/src/state/shell/minimal-mode.tsx
index 9230339dd..3f1cebdf0 100644
--- a/src/state/shell/minimal-mode.tsx
+++ b/src/state/shell/minimal-mode.tsx
@@ -18,12 +18,20 @@ const stateContext = React.createContext<StateContext>({
     addListener() {},
     removeListener() {},
     modify() {},
+    get() {
+      return 0
+    },
+    set() {},
   },
   footerMode: {
     value: 0,
     addListener() {},
     removeListener() {},
     modify() {},
+    get() {
+      return 0
+    },
+    set() {},
   },
 })
 const setContext = React.createContext<SetContext>((_: boolean) => {})
diff --git a/src/state/shell/shell-layout.tsx b/src/state/shell/shell-layout.tsx
index a58ba851c..39f69cfff 100644
--- a/src/state/shell/shell-layout.tsx
+++ b/src/state/shell/shell-layout.tsx
@@ -12,12 +12,20 @@ const stateContext = React.createContext<StateContext>({
     addListener() {},
     removeListener() {},
     modify() {},
+    get() {
+      return 0
+    },
+    set() {},
   },
   footerHeight: {
     value: 0,
     addListener() {},
     removeListener() {},
     modify() {},
+    get() {
+      return 0
+    },
+    set() {},
   },
 })