Added convert option to GM
This commit is contained in:
parent
f24642989b
commit
a6a2ea63a4
3 changed files with 10 additions and 2 deletions
|
|
@ -21,6 +21,8 @@ import Options from './options';
|
|||
import Title from './title';
|
||||
|
||||
import type {AvailableScreens} from '@typings/screens/navigation';
|
||||
import ConvertToChannelLabel from '@app/components/channel_actions/convert_to_channel/convert_to_channel_label';
|
||||
import { General } from '@app/constants';
|
||||
|
||||
type Props = {
|
||||
channelId: string;
|
||||
|
|
@ -105,6 +107,12 @@ const ChannelInfo = ({
|
|||
canManageMembers={canManageMembers}
|
||||
/>
|
||||
<View style={styles.separator}/>
|
||||
{type === General.GM_CHANNEL &&
|
||||
<>
|
||||
<ConvertToChannelLabel/>
|
||||
<View style={styles.separator}/>
|
||||
</>
|
||||
}
|
||||
{canEnableDisableCalls &&
|
||||
<>
|
||||
<ChannelInfoEnableCalls
|
||||
|
|
|
|||
|
|
@ -1011,4 +1011,4 @@ SPEC CHECKSUMS:
|
|||
|
||||
PODFILE CHECKSUM: 25f07cb9e5eed8c84db8e8723000e8470c349058
|
||||
|
||||
COCOAPODS: 1.11.3
|
||||
COCOAPODS: 1.12.1
|
||||
|
|
|
|||
|
|
@ -199,7 +199,7 @@
|
|||
"pod-install-m1": "react-native setup-ios-permissions && cd ios && arch -x86_64 pod install",
|
||||
"postinstall": "patch-package && ./scripts/postinstall.sh",
|
||||
"prepare": "husky install",
|
||||
"preinstall": "./scripts/preinstall.sh && npx solidarity",
|
||||
"preinstall": "./scripts/preinstall.sh",
|
||||
"start": "react-native start",
|
||||
"test": "jest --forceExit --runInBand",
|
||||
"test:coverage": "jest --coverage",
|
||||
|
|
|
|||
Loading…
Reference in a new issue