mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Compact popover
This commit is contained in:
parent
5299e75f60
commit
9ce6ff2766
1 changed files with 3 additions and 3 deletions
|
|
@ -25,11 +25,11 @@ struct MQTTIcon: View {
|
|||
.imageScale(.large)
|
||||
.foregroundColor(connected ? .green : .gray)
|
||||
.symbolRenderingMode(.hierarchical)
|
||||
}.popover(isPresented: self.$isPopoverOpen, content: {
|
||||
}.popover(isPresented: self.$isPopoverOpen, arrowEdge: .bottom, content: {
|
||||
VStack(spacing: 0.5) {
|
||||
Text("Subscribed to topic: " + topic)
|
||||
Text("Topic: " + topic)
|
||||
.padding(20)
|
||||
Button("Close", action: { self.isPopoverOpen = false }).padding([.bottom], 20)
|
||||
Button("close", action: { self.isPopoverOpen = false }).padding([.bottom], 20)
|
||||
}
|
||||
.presentationCompactAdaptation(.popover)
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue