We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82b32f0 commit b8de10dCopy full SHA for b8de10d
1 file changed
Application/DevLogPresentation/Sources/Home/Editor/TodoEditorView.swift
@@ -67,10 +67,19 @@ struct TodoEditorView: View {
67
Image(systemName: "info.circle")
68
}
69
70
- ToolbarTrailingButton {
71
- submit()
+ if store.isLoading {
+ if #available(iOS 26.0, *) {
72
+ ToolbarSpacer(.fixed, placement: .topBarTrailing)
73
+ }
74
+ ToolbarItem(placement: .topBarTrailing) {
75
+ ProgressView()
76
77
+ } else {
78
+ ToolbarTrailingButton {
79
+ submit()
80
81
+ .disabled(!store.isReadyToSubmit)
82
- .disabled(!store.isReadyToSubmit || store.isLoading)
83
84
.alert($store.scope(state: \.alert, action: \.alert))
85
0 commit comments