I'm trying to set topBar icons with custom colors, but they're always defaulting to blue on iOS 13.

Same thing happens in playground:

in both instances the icons are supposed to be red. If I remove the color from config, the image color will be used (black).
rightButtons: [
{
id: 'add-shelf',
icon: require('../../../assets/ui/book-library.png'),
color: 'red',
},
3.5.10.61.4iOS13.2 SimulatorIt seems like this is the same issue as: #5647 I tried their solution (calling mergeOptions after mount), and it fixes the issue.
useNavigationComponentDidAppear(() => {
Navigation.mergeOptions(componentId, {
topBar: {
rightButtons: [
{
id: 'add-shelf',
icon: require('../../../assets/ui/medical-room-wait.png'),
color: '#ffffff',
},
],
},
});
}, componentId);
Fixed in 9f43bca3573e8833eb8219c6e7a829d8d92faac0
Most helpful comment
Fixed in 9f43bca3573e8833eb8219c6e7a829d8d92faac0