mirror of
https://github.com/ninxsoft/Mist.git
synced 2025-06-04 17:03:47 -04:00
Prevent sheet dismissal (#72)
This commit is contained in:
parent
4981f311c7
commit
7656a3bdf6
2 changed files with 3 additions and 0 deletions
|
@ -88,9 +88,11 @@ struct ActivityView: View {
|
|||
Button(buttonText) {
|
||||
stop()
|
||||
}
|
||||
.keyboardShortcut(.escape, modifiers: [])
|
||||
}
|
||||
.padding()
|
||||
}
|
||||
.interactiveDismissDisabled()
|
||||
.frame(width: width, height: height)
|
||||
.onAppear {
|
||||
Task {
|
||||
|
|
|
@ -46,6 +46,7 @@ struct RefreshView: View {
|
|||
}
|
||||
.padding(.vertical)
|
||||
}
|
||||
.interactiveDismissDisabled()
|
||||
.frame(width: width, height: height)
|
||||
.onAppear {
|
||||
Task {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue