diff --git a/Tusker/Screens/Compose/MainComposeTextView.swift b/Tusker/Screens/Compose/MainComposeTextView.swift index 713d7fbf0e..d17b65d9d3 100644 --- a/Tusker/Screens/Compose/MainComposeTextView.swift +++ b/Tusker/Screens/Compose/MainComposeTextView.swift @@ -139,7 +139,10 @@ struct MainComposeWrappedTextView: UIViewRepresentable { func updateUIView(_ uiView: UITextView, context: Context) { uiView.text = text - visibilityButton?.image = UIImage(systemName: visibility.imageName) + if let visibilityButton = visibilityButton { + visibilityButton.image = UIImage(systemName: visibility.imageName) + updateVisibilityMenu(visibilityButton) + } context.coordinator.text = $text context.coordinator.didChange = textDidChange context.coordinator.uiState = uiState