Skip to content

Commit 6e6348b

Browse files
author
ignacio
committed
Fixes the send button not being disabled/hidden after sending a message. Fixes #
1 parent 8bb8d98 commit 6e6348b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Source/Additions/SLKTextView+SLKAdditions.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ @implementation SLKTextView (SLKAdditions)
2020

2121
- (void)slk_clearText:(BOOL)clearUndo
2222
{
23-
[super setText:nil];
23+
// Important to call self implementation, as SLKTextView overrides setText: to add additional features.
24+
[self setText:nil];
2425

2526
if (self.undoManagerEnabled && clearUndo) {
2627
[self.undoManager removeAllActions];

0 commit comments

Comments
 (0)