Comments (1)
For anyone else getting this error: I have added a manual Ionicons Icon and this one stays:
Before:
<Drawer.Navigator
initialRouteName="BrideGroomMain"
drawerContent={(props) => <CustomDrawerContent {...props} />}
screenOptions={({ navigation }) => ({
headerStyle: { backgroundColor: theme["color-info-200"] },
headerTintColor: "black",
headerShown: true,
swipeEnabled: false,
gestureEnabled: false,
drawerStyle: { backgroundColor: theme["color-info-200"] },
onDrawerOpen: () => {
if (!firstTimeSetupCompleted) {
console.log("Drawer will be closed because setup is not completed");
navigation.closeDrawer();
}
},
})}
>
After:
<Drawer.Navigator
initialRouteName="BrideGroomMain"
drawerContent={(props) => <CustomDrawerContent {...props} />}
screenOptions={({ navigation }) => ({
headerStyle: { backgroundColor: theme["color-info-200"] },
headerTintColor: "black",
headerShown: true,
swipeEnabled: false,
gestureEnabled: false,
drawerStyle: { backgroundColor: theme["color-info-200"] },
headerLeft: ({ tintColor }) => ( // Custom icon
<Ionicons
name="menu"
size={30}
color={tintColor}
style={{ marginLeft: 20 }}
onPress={() => navigation.dispatch(DrawerActions.toggleDrawer())}
/>
),
onDrawerOpen: () => {
if (!firstTimeSetupCompleted) {
console.log("Drawer will be closed because setup is not completed");
navigation.closeDrawer();
}
},
})}
>
from eas-cli.
Related Issues (20)
- Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information. HOT 1
- Network request failed in 'expo start --dev-client',error: App Transport Security,but it is work in expo go.
- unable to increase app version HOT 1
- EAS Build error for iOS, sqlite3.org not found HOT 6
- rsync error HOT 2
- RangeError: Invalid array length on Array(width).join(' ') (@expo/xcpretty) HOT 3
- SSH connection to GitHub fails at Install dependencies HOT 1
- Need output of eas secret:list command in JSON format HOT 2
- Expo EAS device:create fails with error HOT 1
- Eas update stucked at the begining
- EAS Cli is not recognized after installation HOT 4
- eas build faild with missing package.json
- Unable to make iOS build on MacOS HOT 2
- error: SHA-1 for file /var/folders... is not computed. HOT 12
- Could not read bundle identifier from Xcode project (target = XXXX, build configuration = Release). HOT 1
- eas build fails when using .yarnrc.yml that contains relative path to files HOT 1
- EAS build in CI fails with Husky and git v2.45.1 HOT 2
- eas submit error "Cannot read properties of undefined" HOT 8
- Running EAS Build with `--local` can't access EAS Secrets but also can't access `.env.local`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eas-cli.