After upgrading to iOS 12 and Xcode 10, the topBar title on iOS is bold by default and could only be changed by using a custom component. When using Xcode 9 and iOS 11.4, the fontWeight is normal by default (desired behavior). What changed? Would it be possible to add fontWeight as a styling option to the title?
Navigation.setRoot({
root: {
stack: {
children: [{
component: {
name: 'app.Dashboard',
options: {
topBar: {
title: {
text: 'DASHBOARD'
}
}
}
},
}],
}
}
});
UPDATE:
We installed a custom font and provide a _normal and a _bold version of it in our assets. By default, the bold version is selected.
Having fontWeight would be really great!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back. Thank you for your contributions.
Temporary fixed setting topBar.title.fontFamily as ".SFUIDisplay-Bold"
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back. Thank you for your contributions.
The issue has been closed for inactivity.
Most helpful comment
Temporary fixed setting
topBar.title.fontFamilyas".SFUIDisplay-Bold"