Integrated the MenuBarView view into the MenuBarExtra component for the PiperApp app in the app target.
This commit is contained in:
parent
3ed1cc92f7
commit
77bb0e7bbb
@ -29,20 +29,8 @@ struct PiperApp: App {
|
|||||||
|
|
||||||
var body: some Scene {
|
var body: some Scene {
|
||||||
MenuBarExtra {
|
MenuBarExtra {
|
||||||
VStack(alignment: .leading) {
|
MenuBarView()
|
||||||
Text("Some text goes here...")
|
.modelContainer(container)
|
||||||
.foregroundStyle(.primary)
|
|
||||||
|
|
||||||
Divider()
|
|
||||||
|
|
||||||
Button {
|
|
||||||
// ...
|
|
||||||
} label: {
|
|
||||||
Text("Some text goes here...")
|
|
||||||
.frame(maxWidth: .infinity)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.padding()
|
|
||||||
} label: {
|
} label: {
|
||||||
Image(systemName: "circle.fill")
|
Image(systemName: "circle.fill")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user