macOS: Show update information as an overlay

This commit is contained in:
Mitchell Hashimoto
2025-10-08 13:24:37 -07:00
parent fc347a6040
commit 81e3ff90a3
4 changed files with 110 additions and 108 deletions

View File

@@ -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)))
}
}