Created
June 16, 2021 06:01
-
-
Save intan1907/85510579de72b0c1aa635d4f10df9c8d to your computer and use it in GitHub Desktop.
New StaticConfiguration for HeartyRecipeWidget
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@main | |
struct HeartyRecipeWidget: Widget { | |
let kind: String = "HeartyRecipeWidget" | |
var body: some WidgetConfiguration { | |
StaticConfiguration(kind: kind, provider: Provider()) { entry in | |
HeartyRecipeWidgetEntryView(entry: entry) | |
} | |
.configurationDisplayName("Hearty Recipe Widget") | |
.description("Display a widget with a random recipe that is updated every 1 hour.") | |
.supportedFamilies([.systemSmall]) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment