Skip to content

Add support for hiding the Toolbar on Android#51

Closed
MattDavies wants to merge 1 commit into
wix:masterfrom
MattDavies:master
Closed

Add support for hiding the Toolbar on Android#51
MattDavies wants to merge 1 commit into
wix:masterfrom
MattDavies:master

Conversation

@MattDavies
Copy link
Copy Markdown
Contributor

@MattDavies MattDavies commented Jun 2, 2016

Uses the toolBarHidden style property.

super.pop(navigatorId);
Screen screen = mScreenStacks.get(mCurrentStackPosition).pop();
setNavigationStyle(screen);
setNavigationStyle(getCurrentScreen());
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This was being called with the screen that was being popped rather than the screen being changed to. Not sure if that was an existing issue or if I've misinterpreted what was going on.

@MattDavies MattDavies closed this Jun 2, 2016
@MattDavies
Copy link
Copy Markdown
Contributor Author

Still need to test if the action bar context needs resetting after modal close.

@guyca
Copy link
Copy Markdown
Collaborator

guyca commented Jun 3, 2016

@MattDavies Thanks for the PR - looks promising!

@MattDavies
Copy link
Copy Markdown
Contributor Author

@guyca No problems! Moved to #52

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