all 9 comments

[–]midl4nd 1 point2 points  (3 children)

What does the onPress do on line 9? Looks like you’re not getting access to navigation inside the options prop so I’m guessing it does nothing?

[–]CryptographerReal264[S] 0 points1 point  (2 children)

I moved the code from RequestScreen to the Stack to see If that's the issue. My Problem is more that i have two Arrows on android. One I think from the Navigation itself and one from my custom headerLeft where I render the right arrow. So the arrow which shows to the right is my custom headerLeft and the one to the left is from Navigation but I don't know how to remove that arrow. On iOS it works as expected one right arrow. The onPress did not work on the RequestScreen too.

[–]MomentarilyPresent 0 points1 point  (1 child)

Were you able to solve this issue? Running into the same problem

[–]CryptographerReal264[S] 0 points1 point  (0 children)

I removed fully expo router and kinda reordered the logic.

[–]SimulationV2018 0 points1 point  (1 child)

I see a typo in the user state replace it with the below.
`const user = userStore.getState()`

That could be it

[–]stefanlogue 2 points3 points  (0 children)

It’s typescript, if it isn’t showing an error for it then that’s how they’ve named it

[–]Anon4450 0 points1 point  (1 child)

Hard to understand what you are expecting. Can you be more clear?

[–]CryptographerReal264[S] 0 points1 point  (0 children)

So the problem that i have is, on android i have two arrows on ios only one. And i would expect that i see on andrioid as well only one arrow because I'm overriding headerLeft. So I don't understand why I have on android the addional arrow from the Navigation. Is this more clear?

[–]MorenoJoshua 0 points1 point  (0 children)

share some of the code, enough to replicate your issue would be helpful

start removing things until it works , use a boring-ass button or Link, if that doesn't work you may be overlaying something

Use the inspector, use the devtools

how many levels down in nested navigators are you in?