diff --git a/SessionUIKit/Components/ConfirmationModal.swift b/SessionUIKit/Components/ConfirmationModal.swift index 30dbde668..1a5a4cb1a 100644 --- a/SessionUIKit/Components/ConfirmationModal.swift +++ b/SessionUIKit/Components/ConfirmationModal.swift @@ -253,6 +253,7 @@ public class ConfirmationModal: Modal, UITextFieldDelegate { case .input(let explanation, let placeholder, let value, let clearButton, let onTextChanged): explanationLabel.attributedText = explanation explanationLabelContainer.isHidden = (explanation == nil) + self.layoutExplanationLabel() textField.placeholder = placeholder textField.text = (value ?? "") textField.clearButtonMode = (clearButton ? .always : .never)