Renaming escaping the timer
When renaming all types of content in the app through the Edit Controller, this action escapes the timer.
The timer was created to prevent the app from reloading data too many times. When the reloadData method used to be called, it now goes through a timer that will reset the fire date when the method is called several times when it is actually not needed, and will fire the reload if has to be reloaded.
What I tried:
- Hit the Edit button.
- Select a video and hit the rename button.
What happened:
- The view reloaded too fast.
What should have happened:
- The view should have been updated only after the end of the timer's duty.
To notice this you should change the time interval given to the timer. I tried this with 5 and 10 seconds.
I am using the version of the app that you can find on the master branch and the app is installed on an iPhone 8 Plus running with iOS 14.0