Fix permalink to not joined channels and to not fetched posts. (#6294)

* Fix permalink to not joined channels and to not fetched posts.

* i18n-extract

* Implement as designed

* Revert unintended change

* Minor fix and fix svgs

* updated svg to fix masking problems and colors

* Fix lint

* Address feedback

* Update join_public_channel.tsx

fixed public channel svg

* Update join_public_channel.tsx

* Update join_private_channel.tsx

* Address feedback

Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
This commit is contained in:
Daniel Espino García
2022-06-17 19:23:12 +02:00
committed by GitHub
parent 1ca401ef3c
commit ee3b655991
12 changed files with 750 additions and 89 deletions

View File

@@ -4,6 +4,7 @@
import {Keyboard, Platform} from 'react-native';
import {OptionsModalPresentationStyle} from 'react-native-navigation';
import {Screens} from '@constants';
import {dismissAllModals, showModalOverCurrentContext} from '@screens/navigation';
import {changeOpacity} from '@utils/theme';
@@ -15,7 +16,7 @@ export const displayPermalink = async (teamName: string, postId: string, openAsP
await dismissAllModals();
}
const screen = 'Permalink';
const screen = Screens.PERMALINK;
const passProps = {
isPermalink: openAsPermalink,
teamName,