Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
a1cnore authored Sep 27, 2020
1 parent dd50bc6 commit 154476b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Timeline, Snapshot and Placeholder get computed by your closure.
struct ExampleWidget: Widget {
typealias widget = EasyWidget<Intent_Intent,BareEntry>
var body: some WidgetConfiguration {
widget(identifier: "AWidget", widget.Provider(
widget(identifier: "ExampleWidget", widget.Provider(
computeTimeline: { (config) -> Timeline<BareEntry> in
Timeline(entries: [BareEntry()], policy: .never)
}, computeSnapshot: { (config) -> BareEntry in
Expand Down

0 comments on commit 154476b

Please sign in to comment.