Cosmos
Cosmos copied to clipboard
Allow adding of subviews
This fixes an issue where adding a subview to a CosmosView would cause a crash.
Thanks for the PR. Before fixing the issue, I would like to reproduce it first. How do I reproduce the bug?
Oh, sorry I missed your comment in my notifications! AFAIK all you have to do is add a subview to a CosmosView and it'll crash.
I caused it working with something very similar to LifecycleHooks.
If you need me to create a test for it, I can do that.
Thanks!
Oh I see, adding subviews to Cosmos view is not supported, to make the code simple. Sorry.