Fix photos not working on iOS

Ghost User
2019-07-03T19:42:52+02:00

#### Previous behaviour
Steps to reproduce:

1. Build on iOS
2. Open photos page
3. JS error

#### New behaviour
Steps to validate that it works:

1. Build on iOS
2. Open photos page
3. Photos page opens correctly and albums are loaded