Bubble/BubbleWidgets/OpenAppControl.swift

23 lines
519 B
Swift
Raw Permalink Normal View History

2024-11-11 15:28:47 +01:00
// Made by Lumaa
// Made by Lumaa
import SwiftUI
import WidgetKit
@available(iOS 18.0, *)
struct OpenAppControl: ControlWidget {
let kind: String = "CreateAppControl"
var body: some ControlWidgetConfiguration {
StaticControlConfiguration(kind: kind) {
ControlWidgetButton(action: OpenAppIntent()) {
Label("control.open.app", image: "hero.pen")
}
}
.displayName("control.open.app")
.description("control.open.app.description")
}
}