mirror of
https://github.com/metabolist/metatext.git
synced 2025-01-03 02:28:41 +00:00
Remove FTUE animations if VoiceOver is running
This commit is contained in:
parent
cc6f7af887
commit
328c38f27f
1 changed files with 2 additions and 2 deletions
|
@ -205,7 +205,7 @@ private extension AddIdentityViewController {
|
|||
}
|
||||
|
||||
func initialDisplay() {
|
||||
if displayWelcome {
|
||||
if displayWelcome, !UIAccessibility.isVoiceOverRunning {
|
||||
welcomeLabel.alpha = 0
|
||||
promptLabel.alpha = 0
|
||||
urlTextField.alpha = 0
|
||||
|
@ -241,7 +241,7 @@ private extension AddIdentityViewController {
|
|||
}
|
||||
} else {
|
||||
welcomeLabel.isHidden_stackViewSafe = true
|
||||
whatIsMastodonButton.isHidden_stackViewSafe = true
|
||||
whatIsMastodonButton.isHidden_stackViewSafe = !displayWelcome
|
||||
urlTextField.becomeFirstResponder()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue