Skip to content

Commit

Permalink
home: hide popup when download completes
Browse files Browse the repository at this point in the history
Fixes #4261
  • Loading branch information
osy committed Aug 6, 2022
1 parent 98c468a commit 18e57ce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Platform/Shared/UTMPlaceholderVMView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ struct UTMPlaceholderVMView<Content>: View where Content: View {
}.padding([.top, .bottom], 10)
.onTapGesture(perform: toggleDetailsPopup)
.popover(isPresented: $showingDetails, content: popover)
.onDisappear {
showingDetails = false
}
#if os(macOS)
.onHover(perform: { hovering in
self.showRemoveButton = hovering
Expand Down

0 comments on commit 18e57ce

Please sign in to comment.