mirror of
https://github.com/metabolist/metatext.git
synced 2025-01-02 18:18:42 +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() {
|
func initialDisplay() {
|
||||||
if displayWelcome {
|
if displayWelcome, !UIAccessibility.isVoiceOverRunning {
|
||||||
welcomeLabel.alpha = 0
|
welcomeLabel.alpha = 0
|
||||||
promptLabel.alpha = 0
|
promptLabel.alpha = 0
|
||||||
urlTextField.alpha = 0
|
urlTextField.alpha = 0
|
||||||
|
@ -241,7 +241,7 @@ private extension AddIdentityViewController {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
welcomeLabel.isHidden_stackViewSafe = true
|
welcomeLabel.isHidden_stackViewSafe = true
|
||||||
whatIsMastodonButton.isHidden_stackViewSafe = true
|
whatIsMastodonButton.isHidden_stackViewSafe = !displayWelcome
|
||||||
urlTextField.becomeFirstResponder()
|
urlTextField.becomeFirstResponder()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue