Created
September 8, 2020 15:33
-
-
Save dimebt/b5b86adc3a72648cda0d9b764204ff72 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 WalletWidget: Widget { | |
private let kind: String = "WalletWidget" | |
public var body: some WidgetConfiguration { | |
StaticConfiguration(kind: kind, provider: Provider()) { entry in | |
WalletWidgetEntryView(entry: entry) | |
} | |
.configurationDisplayName("Wallet Widget") | |
.description("Description for the Wallet app widget.") | |
.supportedFamilies([.systemSmall, .systemMedium, .systemLarge]) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment