mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-01 09:50:16 +00:00
Disallow swiping away sheets while they’re working.
This commit is contained in:
1 parent
4127b8a7ec
commit
f290c5a126
3 files changed
+3
No files matched your search
@@ -92,6 +92,7 @@ struct CredentialsAccountView: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
.interactiveDismissDisabled(isValidating)
|
||||
.alert(NSLocalizedString("Error", comment: "Error"), isPresented: isShowingError) {
|
||||
Button(NSLocalizedString("OK", comment: "OK button")) {
|
||||
errorMessage = nil
|
||||
|
||||
@@ -77,6 +77,7 @@ struct AddFeedView: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
.interactiveDismissDisabled(isAdding)
|
||||
.alert(NSLocalizedString("Error", comment: "Error"), isPresented: isShowingError) {
|
||||
Button(NSLocalizedString("OK", comment: "OK button")) {
|
||||
errorMessage = nil
|
||||
|
||||
@@ -77,6 +77,7 @@ struct AddFolderView: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
.interactiveDismissDisabled(isAdding)
|
||||
.alert(NSLocalizedString("Error", comment: "Error"), isPresented: isShowingError) {
|
||||
Button(NSLocalizedString("OK", comment: "OK button")) {
|
||||
errorMessage = nil
|
||||
|
||||
Reference in new issue
Block a user