We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e157c59 commit b2665d0Copy full SHA for b2665d0
Classes/PHFComposeBarView.m
@@ -120,7 +120,7 @@ - (void)layoutSubviews {
120
#pragma mark - UITextViewDelegate
121
122
- (void)textViewDidChange:(UITextView *)textView {
123
- [self hidePlaceholderIfNeeded];
+ [self updatePlaceholderVisibility];
124
[self resizeTextViewIfNeededAnimated:NO];
125
[self scrollToCaretIfNeeded];
126
[self updateCharCountLabel];
@@ -441,7 +441,7 @@ - (void)didPressUtilityButton {
441
[[self delegate] composeBarViewDidPressUtilityButton:self];
442
}
443
444
-- (void)hidePlaceholderIfNeeded {
+- (void)updatePlaceholderVisibility {
445
BOOL shouldHide = ![[[self textView] text] isEqualToString:@""];
446
[[self placeholderLabel] setHidden:shouldHide];
447
0 commit comments