Hi all, I have added favorite functionality in my app and un-favorite as well but when I delete all the content in the list, in the end it is throwing me this error. This error also fires when I re-open favorite page second time(when content is there, I have created an empty list to display message but it doesn’t work for the second time)
Thanks for replying back!
I tried the suggested method and still the error is thrown.
The reason why I considered is because from empty tinydb, I am creating a list of ‘No fav yet’. If you can suggest something else, I can try that also.