I realise #279 has somewhat fixed this issue, however the pull request didn't account for the bottom edge or landscape orientation. I've fixed the positioning of the done button, the toolbar and the photo so that they're positioned correctly on iPhone X and other models. This also required some minor changes to the animation when presenting the photo browser.
I've also added tests for the safe area calculations.
I realise #279 has somewhat fixed this issue, however the pull request didn't account for the bottom edge or landscape orientation. I've fixed the positioning of the done button, the toolbar and the photo so that they're positioned correctly on iPhone X and other models. This also required some minor changes to the animation when presenting the photo browser.
I've also added tests for the safe area calculations.