Created
June 25, 2020 12:16
-
-
Save arthurpalves/063658004a8d04e5a7acfc8124fa2d1f to your computer and use it in GitHub Desktop.
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 MainAccount: Widget { | |
private let kind: String = "MainAccount" | |
public var body: some WidgetConfiguration { | |
StaticConfiguration(kind: kind, provider: Provider(), placeholder: PlaceholderView()) { entry in | |
MainAccountEntryView(entry: entry) | |
} | |
.configurationDisplayName("Main Account") | |
.description("See information about your main account.") | |
.supportedFamilies([.systemSmall, .systemMedium]) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment