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