diff options
Diffstat (limited to 'src/state/shell/minimal-mode.tsx')
-rw-r--r-- | src/state/shell/minimal-mode.tsx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/state/shell/minimal-mode.tsx b/src/state/shell/minimal-mode.tsx index eba3aa2b0..93eb47028 100644 --- a/src/state/shell/minimal-mode.tsx +++ b/src/state/shell/minimal-mode.tsx @@ -1,5 +1,9 @@ import React from 'react' -import {SharedValue, useSharedValue, withSpring} from 'react-native-reanimated' +import { + type SharedValue, + useSharedValue, + withSpring, +} from 'react-native-reanimated' type StateContext = { headerMode: SharedValue<number> @@ -29,7 +33,9 @@ const stateContext = React.createContext<StateContext>({ set() {}, }, }) +stateContext.displayName = 'MinimalModeStateContext' const setContext = React.createContext<SetContext>((_: boolean) => {}) +setContext.displayName = 'MinimalModeSetContext' export function Provider({children}: React.PropsWithChildren<{}>) { const headerMode = useSharedValue(0) |