React native, Android dark mode changing icon color

  Kiến thức lập trình

In my react native app i have this icon from import { ArrowBackIcon } from “native-base”;

and im using it like this

<Pressable onPress={() => navigationRef.goBack()}>
          <ArrowBackIcon size="lg" color="white" />
        </Pressable> 

the problem is that if i turn dark mode on in my phone the icon turns black the same as the background so it looks invisible

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT