diff options
author | dan <dan.abramov@gmail.com> | 2024-11-05 22:27:36 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-05 22:27:36 +0000 |
commit | 84fb1b7f97af7cdcaac1049d2c843c421d50539a (patch) | |
tree | b4307d6599b3c600a732f41e123de7ab4c78f917 /src/state | |
parent | b0c5a37daabc04570d33776de6c13be87a795491 (diff) | |
download | voidsky-84fb1b7f97af7cdcaac1049d2c843c421d50539a.tar.zst |
Update Reanimated (#6126)
* Update Reanimated * Fix types * Fix Reanimated value access warnings * Fix types
Diffstat (limited to 'src/state')
-rw-r--r-- | src/state/shell/minimal-mode.tsx | 8 | ||||
-rw-r--r-- | src/state/shell/shell-layout.tsx | 8 |
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() {}, }, }) |