about summary refs log tree commit diff
path: root/src/state/preferences/index.tsx
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2024-11-25 20:30:15 +0000
committerGitHub <noreply@github.com>2024-11-25 20:30:15 +0000
commitb0c36383a9a7304f94c2bb19f7cc4b37e0b4f637 (patch)
tree4001655a33bb300b99dbc81096ccc27fe4f712bd /src/state/preferences/index.tsx
parent6c81090021222263dbf1d546216ea0da95029738 (diff)
downloadvoidsky-b0c36383a9a7304f94c2bb19f7cc4b37e0b4f637.tar.zst
Ensure react-native-keyboard-controller enabled state doesn't get overwritten (#6727)
* revert to prev state instead of false

* add dep array

* use ref counting approach

* patch keyboard controller to allow changing the enabled prop

* remove state from patch

* change patched prop name

* remove Math.max check, log if < 0

* use noop provider

* rm patch, use `useRef`

* Style nits

* Rm on web

---------

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
Diffstat (limited to 'src/state/preferences/index.tsx')
0 files changed, 0 insertions, 0 deletions