I thought I could comment out some of the menu items I wanted to hide and that would be it.
Unfortunately when I test it on a device I get a black screen as soon as I click the menu button.
Isn’t commenting out as so enough? Obviously I need to do something else.
Any clues?
Cheers
return (
<BottomSheet onCancel = { this._onCancel }>
<AudioRouteButton { …buttonProps } />
<ToggleCameraButton { …buttonProps } />
<AudioOnlyButton { …buttonProps } />
<RoomLockButton { …buttonProps } />
//<ClosedCaptionButton { …buttonProps } />
{
// Apple rejected our app because they claim requiring a
// Dropbox account for recording is not acceptable.
// Ddisable it until we can find a way around it.
(__DEV__ || Platform.OS !== 'ios')
&& <RecordButton { ...buttonProps } />
}
//<LiveStreamButton { ...buttonProps } />
<TileViewButton { ...buttonProps } />
<InviteButton { ...buttonProps } />
</BottomSheet>
);