mirror of
https://github.com/metabolist/metatext
synced 2024-12-28 02:30:30 +01:00
Remove FTUE animations if VoiceOver is running
This commit is contained in:
parent
cc6f7af887
commit
328c38f27f
@ -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 New Issue
Block a user