diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-12-24 20:05:54 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-24 20:05:54 +0000 |
commit | 6c9e1d4837e9e385da5ca0c89c28000ad25c70d8 (patch) | |
tree | 8de94bf059fc4065cf228b63f50f23840ceda4d8 /package.json | |
parent | f05962a4928e5102e6abe773e938ae8ab941a2c4 (diff) | |
download | voidsky-6c9e1d4837e9e385da5ca0c89c28000ad25c70d8.tar.zst |
Unlock orientation when lightbox is open (#7257)
* unlock orientation when lightbox is open * rm outer safe area view, make sure alt text is safe * restore safe area view for android 14 and below * lock orientation on launch for android * set system ui background to black when lightbox is open * reset state on relayout * catch async functions with noops * rm superfluous catches * Delay unlock until after animation * Simplify how key is determined * Make landscape backdrop opaque --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json index 5e1394c2c..8eafdd6a1 100644 --- a/package.json +++ b/package.json @@ -138,6 +138,7 @@ "expo-media-library": "~17.0.3", "expo-navigation-bar": "~4.0.4", "expo-notifications": "~0.29.11", + "expo-screen-orientation": "^8.0.2", "expo-sharing": "^13.0.0", "expo-splash-screen": "~0.29.18", "expo-status-bar": "~2.0.0", |