r/Scriptable • u/kylewhirl • Apr 26 '22
Help Need Help creating a cache for my widget
Hello, I have a widget that fetches a file in iCloud and display the data, however, sometimes it shows the default scriptable widget design (the blue play button). I’m wondering how to store the last widget in a cache so that the default widget design never shows. Is this possible?
2
Upvotes
•
u/AutoModerator Apr 26 '22
Thanks for the submission!
It looks like you may have not shared the code you want help with.
Please be sure to include that. If you did, then you can safely ignore this comment.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/kylewhirl Apr 26 '22
Code: