Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(filmstrip/toolbox) mobile ui updates #11051

Merged
merged 4 commits into from
Mar 1, 2022

Conversation

Calinteodor
Copy link
Contributor

No description provided.

@@ -364,7 +364,10 @@ class Conference extends AbstractConference<Props, State> {

<LonelyMeetingExperience />

{ _shouldDisplayTileView || <><Filmstrip /><Toolbox /></> }
{ _shouldDisplayTileView || <>
<Filmstrip _toolboxVisible = { _toolboxVisible } />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you pl remove the explicit prop and make it internal to the filmstrip?

@@ -59,6 +61,7 @@ function Toolbox(props: Props) {
}

const { _styles, _width, _reactionsEnabled } = props;
const bottomEdge = Platform.OS === 'ios' && props._visible;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Destructure _visible above?

justifyContent: 'space-between',
margin: BaseTheme.spacing[2]
paddingLeft: BaseTheme.spacing[2],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can simplify this with paddingHorizontal

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is removed.

@@ -45,7 +45,8 @@ export default {
flexDirection: 'row',
flexGrow: 0,
justifyContent: 'flex-end',
marginBottom: BaseTheme.spacing[1]
marginHorizontal: 6,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simplify with margin: ?

Copy link
Member

@saghul saghul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works great now! 🚀

@Calinteodor Calinteodor merged commit 577d62e into jitsi:master Mar 1, 2022
ankit-programmer pushed a commit to ankit-programmer/jitsi-meet that referenced this pull request May 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants