The setting is not in the app. You have to go into the iPhone settings. Just search optimize storage.