Feature Request: Time filter for delete after photo upload

I’m using Nextcloud client on iOS. When uploading photos automatically to Nextcloud the files get deleted (more or less) immediately (after Confirmation). A great feature when thinking about memory usage!
But when trying to show or send such pictures, most likely from the last days or weeks, they have to be downloaded again.

It would be great, if we could specify a number of days to keep the photos before they are removed from the phone.