Remove the "unflip" of the timeline when in voice over mode (#5835)

Keep the timeline as it is in voice over mode, and don't "unflip" it
This commit is contained in:
Mauro
2026-07-06 14:00:53 +02:00
committed by GitHub
parent b8e6421551
commit d2ef1e71f9
2 changed files with 12 additions and 30 deletions
@@ -81,10 +81,10 @@ struct RoomScreen: View {
TopBannerLayer(knockRequestsBanner, isVisible: context.viewState.shouldSeeKnockRequests)
], footer: dateBadge)
.safeAreaInset(edge: .top) {
// When VoiceOver is enabled, the table view isn't reversed and the scroll gestures
// don't trigger meaning the banner never hides itself and so the .overlay layout
// above permanently obscures the top of the timeline. So whenever VoiceOver is
// enabled we use a safe area inset to vertically stack it above the timeline.
// When VoiceOver is enabled the scroll gestures don't trigger, so the banner never
// hides itself and the .overlay layout above would permanently obscure the top of
// the timeline. So whenever VoiceOver is enabled we use a safe area inset to
// vertically stack it above the timeline instead.
if context.viewState.shouldShowPinnedEventsBanner || context.viewState.isSharingLiveLocation, isVoiceOverEnabled {
VStack(spacing: 0) {
if context.viewState.shouldShowPinnedEventsBanner {