mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
Hide scroll down button VoiceOver (#670)
* Hide scroll down button for VoiceOver users if the button is hidden for visual users * Add change log
This commit is contained in:
@@ -79,6 +79,7 @@ struct RoomScreen: View {
|
|||||||
.padding()
|
.padding()
|
||||||
}
|
}
|
||||||
.opacity(context.scrollToBottomButtonVisible ? 1.0 : 0.0)
|
.opacity(context.scrollToBottomButtonVisible ? 1.0 : 0.0)
|
||||||
|
.accessibilityHidden(!context.scrollToBottomButtonVisible)
|
||||||
.animation(.elementDefault, value: context.scrollToBottomButtonVisible)
|
.animation(.elementDefault, value: context.scrollToBottomButtonVisible)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
Hides the scroll down button for VoiceOver users if it is hidden for visual users by Sem Pruijs
|
||||||
Reference in New Issue
Block a user