mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
Feature/4519 voice over texte secure textfield
This commit is contained in:
+3
-1
@@ -109,7 +109,7 @@ final class SecretsRecoveryWithPassphraseViewController: UIViewController {
|
||||
|
||||
let visibilityImage = Asset.Images.revealPasswordButton.image.withRenderingMode(.alwaysTemplate)
|
||||
self.passphraseVisibilityButton.setImage(visibilityImage, for: .normal)
|
||||
|
||||
self.passphraseVisibilityButton.accessibilityLabel = BWIL10n.textfieldRevealSecret
|
||||
let informationText: String
|
||||
|
||||
switch self.viewModel.recoveryGoal {
|
||||
@@ -198,8 +198,10 @@ final class SecretsRecoveryWithPassphraseViewController: UIViewController {
|
||||
private func updateShowHidePassphraseButton() {
|
||||
if self.passphraseTextField.isSecureTextEntry {
|
||||
passphraseVisibilityButton.setImage(Asset.Images.revealPasswordButton.image, for: .normal)
|
||||
passphraseVisibilityButton.accessibilityLabel = BWIL10n.textfieldRevealSecret
|
||||
} else {
|
||||
passphraseVisibilityButton.setImage(Asset.Images.hidePasswordButton.image, for: .normal)
|
||||
passphraseVisibilityButton.accessibilityLabel = BWIL10n.textfieldHideSecret
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user