Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6287

Modal changing the android navbar color - React Native typescript

$
0
0

i'm making an app with react native typescript and Expo and i change the navbar color like this in the entire application

(i made this based on this solution: https://stackoverflow.com/a/60568140/15859414)

enter image description here


However, when a MODAL is opened, the navbar simply change to a default color

modal opened

------

i wanted to keep my custom color even if the modal is open, but i don't know how

here is the code where i'm changing the color, is in App.json:

"androidNavigationBar": {"backgroundColor": "#5abec8"},

Viewing all articles
Browse latest Browse all 6287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>