Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Cotabby/UI/Onboarding/OnboardingFeatureShowcase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ struct OnboardingFeatureShowcase: View {
GhostTextDemoCard()
EmojiPickerDemoCard()
}
// Purely decorative looping demo: hide it from VoiceOver so the
// mid-animation text fragments are never read out to AT users.
.accessibilityHidden(true)
}
}

Expand Down Expand Up @@ -136,6 +139,7 @@ private struct GhostTextDemoCard: View {
withAnimation(.easeInOut(duration: 0.30)) {
showGhost = false
accepted = false
typedCount = 0
}
try? await Task.sleep(nanoseconds: 600 * nsPerMillisecond)
}
Expand Down Expand Up @@ -277,7 +281,7 @@ private struct DemoEmojiPopup: View {
Divider()

VStack(spacing: 0) {
ForEach(Array(candidates.enumerated()), id: \.offset) { index, candidate in
ForEach(Array(candidates.enumerated()), id: \.element.alias) { index, candidate in
DemoEmojiRow(glyph: candidate.glyph, alias: candidate.alias, isSelected: index == 0)
}
}
Expand Down