We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c394b0e commit 49f7397Copy full SHA for 49f7397
1 file changed
OpenHaystack/OpenHaystack/HaystackApp/Views/OpenHaystackMainView.swift
@@ -167,10 +167,16 @@ struct OpenHaystackMainView: View {
167
Circle()
168
.fill(self.mailPluginIsActive ? Color.green : Color.orange)
169
.frame(width: 8, height: 8)
170
- Label("Reload", systemImage: "arrow.clockwise")
171
- .disabled(!self.mailPluginIsActive)
+ if self.isLoading {
+ ActivityIndicator(size: .small)
172
+ .disabled(!self.mailPluginIsActive)
173
+ .frame(width: 16, height: 16)
174
+ } else {
175
+ Label("Reload", systemImage: "arrow.clockwise")
176
177
178
+ }
179
}
-
180
181
)
182
.disabled(self.accessories.isEmpty)
0 commit comments