Use chevron instead of arrow on ios

This commit is contained in:
keplyx 2020-02-04 19:49:05 +01:00
parent de787bf5a6
commit f171578c8d

View file

@ -100,7 +100,7 @@ export default class CustomHeader extends React.Component<Props> {
}}>
<CustomMaterialIcon
color={Platform.OS === 'ios' ? ThemeManager.getCurrentThemeVariables().brandPrimary : "#fff"}
icon={Platform.OS === 'chevron-left' ? "" : "arrow-left"}/>
icon={Platform.OS === 'ios' ? 'chevron-left' : "arrow-left"}/>
</Touchable>;
else
button = this.props.leftButton;