fix share extension
This commit is contained in:
parent
22bcf3cb66
commit
952135f7e0
|
@ -127,11 +127,13 @@ class ShareView extends Component<IShareViewProps, IShareViewState> {
|
|||
|
||||
headerRight = () => {
|
||||
const { theme } = this.props;
|
||||
return (
|
||||
<HeaderButton.Container>
|
||||
<HeaderButton.Item iconName='edit' onPress={this.cropImage} color={themes[theme].previewTintColor} />
|
||||
</HeaderButton.Container>
|
||||
);
|
||||
if (!this.isShareExtension)
|
||||
return (
|
||||
<HeaderButton.Container>
|
||||
<HeaderButton.Item iconName='edit' onPress={this.cropImage} color={themes[theme].previewTintColor} />
|
||||
</HeaderButton.Container>
|
||||
);
|
||||
return null;
|
||||
};
|
||||
|
||||
setHeader = () => {
|
||||
|
|
Loading…
Reference in New Issue