Skip to content

Commit

Permalink
Fix header left
Browse files Browse the repository at this point in the history
  • Loading branch information
diegolmello committed Feb 20, 2025
1 parent f08fd78 commit a155276
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/views/ShareView/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import {
TThreadModel
} from '../../definitions';
import { sendFileMessage, sendMessage } from '../../lib/methods';
import { hasPermission, isAndroid, canUploadFile, isReadOnly, isBlocked, isIOS } from '../../lib/methods/helpers';
import { hasPermission, isAndroid, canUploadFile, isReadOnly, isBlocked } from '../../lib/methods/helpers';
import { RoomContext } from '../RoomView/context';
import { appStart } from '../../actions/app';

Expand Down Expand Up @@ -135,7 +135,8 @@ class ShareView extends Component<IShareViewProps, IShareViewState> {
};

// if is share extension show default back button
if (!this.isShareExtension && isIOS) {
if (!this.isShareExtension) {
options.headerBackVisible = false;
options.headerLeft = () => (
<HeaderButton.CloseModal navigation={navigation} color={themes[theme].fontDefault} testID='share-view-close' />
);
Expand Down

0 comments on commit a155276

Please sign in to comment.