fix share extension

This commit is contained in:
Gleidson Daniel 2022-09-20 20:23:26 -03:00
parent 22bcf3cb66
commit 952135f7e0
1 changed files with 7 additions and 5 deletions

View File

@ -127,11 +127,13 @@ class ShareView extends Component<IShareViewProps, IShareViewState> {
headerRight = () => {
const { theme } = this.props;
if (!this.isShareExtension)
return (
<HeaderButton.Container>
<HeaderButton.Item iconName='edit' onPress={this.cropImage} color={themes[theme].previewTintColor} />
</HeaderButton.Container>
);
return null;
};
setHeader = () => {