mirror of
https://github.com/ninxsoft/Mist.git
synced 2025-06-06 01:31:17 -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) {
|
Button(buttonText) {
|
||||||
stop()
|
stop()
|
||||||
}
|
}
|
||||||
|
.keyboardShortcut(.escape, modifiers: [])
|
||||||
}
|
}
|
||||||
.padding()
|
.padding()
|
||||||
}
|
}
|
||||||
|
.interactiveDismissDisabled()
|
||||||
.frame(width: width, height: height)
|
.frame(width: width, height: height)
|
||||||
.onAppear {
|
.onAppear {
|
||||||
Task {
|
Task {
|
||||||
|
|
|
@ -46,6 +46,7 @@ struct RefreshView: View {
|
||||||
}
|
}
|
||||||
.padding(.vertical)
|
.padding(.vertical)
|
||||||
}
|
}
|
||||||
|
.interactiveDismissDisabled()
|
||||||
.frame(width: width, height: height)
|
.frame(width: width, height: height)
|
||||||
.onAppear {
|
.onAppear {
|
||||||
Task {
|
Task {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue