react-native-navigation icon indicating copy to clipboard operation
react-native-navigation copied to clipboard

Bottom tab icon not updating with appearance change

Open mattmcdev opened this issue 3 years ago • 0 comments

🐛 Bug Report

When using an image from Xcode assets as the bottom tab icon with a dark appearance variant set, any change to appearance does not update the icon.

At launch the correct variant is used - if the app is launched in dark mode the dark variant is used, if launched in light mode the light variant is used. But any changes are ignored.

const { scale } = Dimensions.get('window')

options: {
  bottomTab: {
    icon: {
      uri: 'TodayTab',
      scale,
    },
  },
}

mattmcdev avatar Mar 11 '22 09:03 mattmcdev