mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-16 14:56:10 +00:00
macOS: Show update information as an overlay
This commit is contained in:
@@ -13,14 +13,11 @@ struct UpdatePill: View {
|
||||
|
||||
var body: some View {
|
||||
if model.state != .idle {
|
||||
VStack {
|
||||
pillButton
|
||||
Spacer()
|
||||
}
|
||||
.popover(isPresented: $showPopover, arrowEdge: .bottom) {
|
||||
UpdatePopoverView(model: model, actions: actions)
|
||||
}
|
||||
.transition(.opacity.combined(with: .scale(scale: 0.95)))
|
||||
pillButton
|
||||
.popover(isPresented: $showPopover, arrowEdge: .bottom) {
|
||||
UpdatePopoverView(model: model, actions: actions)
|
||||
}
|
||||
.transition(.opacity.combined(with: .scale(scale: 0.95)))
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user