We currently call WidgetCenter.shared.reloadAllTimelines() in ApplicationModel to force all the widgets to update. This feels heavyweight since we should be able to determine which data has actually changed and poke the relevant widgets. This is especially important as widgets perform additional API fetches so we want to reduce the load on the API wherever possible.
We currently call
WidgetCenter.shared.reloadAllTimelines()
inApplicationModel
to force all the widgets to update. This feels heavyweight since we should be able to determine which data has actually changed and poke the relevant widgets. This is especially important as widgets perform additional API fetches so we want to reduce the load on the API wherever possible.