ios: add multi-polling support

This commit is contained in:
2026-05-04 20:14:16 -07:00
parent f514c42de6
commit be072fd46d
8 changed files with 824 additions and 186 deletions

View File

@@ -104,6 +104,13 @@ struct SybilSidebarView: View {
Text(item.title)
.font(.sybil(.subheadline, weight: .semibold))
.lineLimit(1)
.layoutPriority(1)
Spacer(minLength: 8)
if item.isRunning {
SybilSidebarActivityIndicator()
}
}
HStack(spacing: 8) {
@@ -205,3 +212,15 @@ struct SybilSidebarView: View {
.buttonStyle(.plain)
}
}
struct SybilSidebarActivityIndicator: View {
var body: some View {
ProgressView()
.progressViewStyle(.circular)
.controlSize(.small)
.tint(SybilTheme.accent)
.scaleEffect(0.82)
.frame(width: 16, height: 16)
.accessibilityLabel("Generating")
}
}