1
0
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:
Justin Mazzocchi 2021-02-02 23:57:49 -08:00
parent cc6f7af887
commit 328c38f27f
No known key found for this signature in database
GPG Key ID: E223E6937AAFB01C

View File

@ -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()
}
}