Update hashtag every 15 minutes (IOS-152)

This commit is contained in:
Nathan Mattes 2023-05-05 15:35:15 +02:00
parent f3becbec3f
commit 413a29208f
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ struct HashtagWidgetProvider: IntentTimelineProvider {
func getTimeline(for configuration: HashtagIntent, in context: Context, completion: @escaping (Timeline<HashtagWidgetTimelineEntry>) -> Void) {
loadMostRecentHashtag(for: configuration, in: context) { entry in
completion(Timeline(entries: [entry], policy: .after(.now)))
completion(Timeline(entries: [entry], policy: .after(.now.addingTimeInterval(60 * 15))))
}
}
}