mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2025-12-23 22:18:36 -05:00
remove drawer-related nav options
This commit is contained in:
@@ -3,7 +3,6 @@ import { fontMedium } from "appConstants/fontFamilies";
|
||||
import FullPageWebViewHeader from "components/FullPageWebView/FullPageWebViewHeader";
|
||||
import BackButton from "components/SharedComponents/Buttons/BackButton";
|
||||
import React from "react";
|
||||
import { View } from "react-native";
|
||||
import colors from "styles/tailwindColors";
|
||||
|
||||
import FadeInView from "./FadeInView";
|
||||
@@ -71,27 +70,14 @@ const removeBottomBorder = {
|
||||
)
|
||||
} as const;
|
||||
|
||||
// this removes the default hamburger menu from header
|
||||
const hideDrawerHeaderLeft = {
|
||||
headerLeft: ( ) => (
|
||||
<View />
|
||||
)
|
||||
} as const;
|
||||
|
||||
const preventSwipeToGoBack = {
|
||||
gestureEnabled: false
|
||||
} as const;
|
||||
|
||||
const isDrawerScreen = {
|
||||
animation: "none"
|
||||
} as const;
|
||||
|
||||
export {
|
||||
blankHeaderTitle,
|
||||
fadeInComponent,
|
||||
hideDrawerHeaderLeft,
|
||||
hideHeader,
|
||||
isDrawerScreen,
|
||||
preventSwipeToGoBack,
|
||||
removeBottomBorder,
|
||||
showHeader,
|
||||
|
||||
Reference in New Issue
Block a user