Skip to content

Fixed: App crashes when animating ActionBar - #2124

Merged
tzraikov merged 1 commit into
masterfrom
raikov/fix-2084
May 17, 2016
Merged

tzraikov merged 1 commit into
masterfrom
raikov/fix-2084

Conversation

@tzraikov

Copy link
Copy Markdown
Contributor

@tzraikov tzraikov self-assigned this May 17, 2016
@ns-bot ns-bot added cla: yes and removed cla: no labels May 17, 2016
@enchev

enchev commented May 17, 2016

Copy link
Copy Markdown
Contributor

👍

return;
}

let viewController = (<UIViewController>this.page.ios);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Probably a check if navigationController !== null will be good. We will support pages that are not hosted in Frame.

@hshristov

Copy link
Copy Markdown
Contributor

👍

@tzraikov
tzraikov merged commit 05f802b into master May 17, 2016
@tzraikov
tzraikov deleted the raikov/fix-2084 branch May 17, 2016 11:47
var viewController = (<UIViewController>this.page.ios);
var navigationItem: UINavigationItem = viewController.navigationItem;
var navController = frameModule.topmost().ios.controller;
var navigationBar = <UINavigationBar>navController.navigationBar;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

navigationBar is used later on - so this will probably cause a crash. If there is no navigationController - probably it is just safer to return - we cannot do much anyway.

@lock

lock Bot commented Aug 28, 2019

Copy link
Copy Markdown

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock Bot locked and limited conversation to collaborators Aug 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants