-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Image Backgrounds crashing media views (#20)
- Removed comments from the BG hook as I decided I'm not going to do this - Ensures that the length of subviews is at least 3 so that it does not into the negatives (2-3=-1 and so on). This would cause a native crash when trying to open a Media/Image view because the amount of subviews there is less than 3, meaning that when the Image bg subview is inserted it tries to insert it into a negative index.
- Loading branch information
1 parent
642da81
commit 28df3be
Showing
3 changed files
with
3 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters