about summary refs log tree commit diff
path: root/src/view/com/util/BottomSheetCustomBackdrop.tsx
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2024-05-31 14:55:51 +0300
committerGitHub <noreply@github.com>2024-05-31 12:55:51 +0100
commit05b55c1966b12f4849235dc794455bc60c5753c1 (patch)
treee156e1347aad58693f9c245002f21300e033817a /src/view/com/util/BottomSheetCustomBackdrop.tsx
parentd614f6cb71bf2751834dbd800b5f43257d5c074a (diff)
downloadvoidsky-05b55c1966b12f4849235dc794455bc60c5753c1.tar.zst
Composer - fix modals, and other tweaks (#4298)
* fix depreciated import

* add animations to old dropdown

* wrap modals in fullwindowoverlay

* move errors inside header

* add background to bottom bar and stop overlap

* nest dialogs on android

* fix android (wrap in gesturehandlerrootview)

* make borders all the same color

* revert threadgate button back to solid
Diffstat (limited to 'src/view/com/util/BottomSheetCustomBackdrop.tsx')
-rw-r--r--src/view/com/util/BottomSheetCustomBackdrop.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/com/util/BottomSheetCustomBackdrop.tsx b/src/view/com/util/BottomSheetCustomBackdrop.tsx
index 0d15c5e55..25e882e87 100644
--- a/src/view/com/util/BottomSheetCustomBackdrop.tsx
+++ b/src/view/com/util/BottomSheetCustomBackdrop.tsx
@@ -1,7 +1,7 @@
 import React, {useMemo} from 'react'
 import {TouchableWithoutFeedback} from 'react-native'
 import Animated, {
-  Extrapolate,
+  Extrapolation,
   interpolate,
   useAnimatedStyle,
 } from 'react-native-reanimated'
@@ -21,7 +21,7 @@ export function createCustomBackdrop(
         animatedIndex.value, // current snap index
         [-1, 0], // input range
         [0, 0.5], // output range
-        Extrapolate.CLAMP,
+        Extrapolation.CLAMP,
       ),
     }))