openmobilehub / react-native-omh-storage

https://openmobilehub.github.io/react-native-omh-storage/
Apache License 2.0
7 stars 0 forks source link

Back button not visible in example app on iOS #74

Closed draggie closed 2 months ago

draggie commented 2 months ago

In the example app the back button to go to previous folder is the same color as the background color causing it to be invisible, it can be fixed easily with adding

headerTintColor: theme.colors.text

like

 const screenOptions = useMemo(
    () => ({
      contentStyle: {
        backgroundColor: theme.colors.background,
      },
      headerStyle: {
        backgroundColor: theme.colors.primary,
      },
      headerTintColor: theme.colors.text,
    }),
    [theme.colors]
  );

in the RootNavigationContainer.tsx

adamTrz commented 2 months ago

Thanks for finding that @draggie Guess it should be fixed with #68

Could you mind taking a look please? :)

draggie commented 2 months ago

Yes, just checked, it works fine now