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

[TIMOB-9819] added null check to prevent the crash #3906

Closed
wants to merge 2 commits into from

Conversation

salachi
Copy link
Contributor

@salachi salachi commented Feb 25, 2013

This fixes the crash but gradient won't be applied. nativeView is never set in TiUIView in the case of heavyweight window.

https://jira.appcelerator.org/browse/TIMOB-9819

@ayeung
Copy link
Contributor

ayeung commented Feb 25, 2013

I don't think this actually fixes the issue, it just prevents it from crashing. I'd be interested to see why the native view is not set on a heavy weight window. We need to find a more complete solution since we'll probably get a bug later on saying that background gradients won't work with heavy weight windows.

@salachi
Copy link
Contributor Author

salachi commented May 6, 2013

I have fixed the issue with gradient by using getNativeView which is overriden by TiUIActivityWindow. Let me know if there any additional fix needed

@ayeung
Copy link
Contributor

ayeung commented Jun 29, 2013

Fixed by other PR: #4239

@ayeung ayeung closed this Jun 29, 2013
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.

None yet

2 participants