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

Tabbar rework #1782

Merged
merged 6 commits into from
Jan 4, 2016
Merged

Tabbar rework #1782

merged 6 commits into from
Jan 4, 2016

Conversation

sampaiodiego
Copy link
Member

Previously every time you access a room, all tab bar buttons were removed and re-added. This were done on enter-room callbacks.
Because of this a package was not able to display only one tab bar button, because everytime enter-room callbacks were called, all buttons are added again.

Now, every tab bar button is added once with a group option. Every time the tab bar buttons should be displayed, it's called to display a group of buttons, then each button from another group are simply hidden.

@engelgabriel engelgabriel deployed to rocket-chat-pr-1782 December 30, 2015 13:45 Active
@engelgabriel engelgabriel deployed to rocket-chat-pr-1782 December 30, 2015 16:59 Active
@engelgabriel engelgabriel deployed to rocket-chat-pr-1782 January 4, 2016 11:04 Active
@engelgabriel engelgabriel deployed to rocket-chat-pr-1782 January 4, 2016 18:24 Active
@marceloschmidt
Copy link
Member

lgtm

1 similar comment
@engelgabriel
Copy link
Member

lgtm

engelgabriel added a commit that referenced this pull request Jan 4, 2016
@engelgabriel engelgabriel merged commit 00e35ad into develop Jan 4, 2016
@engelgabriel engelgabriel deleted the tabbar-rework branch January 4, 2016 18:37
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.

3 participants