File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1466,7 +1466,7 @@ - (void)slk_didPostSLKKeyboardNotification:(NSNotification *)notification
1466
1466
- (void )slk_willChangeTextViewText : (NSNotification *)notification
1467
1467
{
1468
1468
// Skips this it's not the expected textView.
1469
- if (![notification.object isEqual: self .textView] || !self. textView . window ) {
1469
+ if (![notification.object isEqual: self .textView]) {
1470
1470
return ;
1471
1471
}
1472
1472
@@ -1476,7 +1476,7 @@ - (void)slk_willChangeTextViewText:(NSNotification *)notification
1476
1476
- (void )slk_didChangeTextViewText : (NSNotification *)notification
1477
1477
{
1478
1478
// Skips this it's not the expected textView.
1479
- if (![notification.object isEqual: self .textView] || !self. textView . window ) {
1479
+ if (![notification.object isEqual: self .textView]) {
1480
1480
return ;
1481
1481
}
1482
1482
@@ -1492,7 +1492,7 @@ - (void)slk_didChangeTextViewText:(NSNotification *)notification
1492
1492
- (void )slk_didChangeTextViewContentSize : (NSNotification *)notification
1493
1493
{
1494
1494
// Skips this it's not the expected textView.
1495
- if (![notification.object isEqual: self .textView] || !self. textView . window ) {
1495
+ if (![notification.object isEqual: self .textView]) {
1496
1496
return ;
1497
1497
}
1498
1498
@@ -1503,7 +1503,7 @@ - (void)slk_didChangeTextViewContentSize:(NSNotification *)notification
1503
1503
- (void )slk_didChangeTextViewSelectedRange : (NSNotification *)notification
1504
1504
{
1505
1505
// Skips this it's not the expected textView.
1506
- if (![notification.object isEqual: self .textView] || !self. textView . window ) {
1506
+ if (![notification.object isEqual: self .textView]) {
1507
1507
return ;
1508
1508
}
1509
1509
You can’t perform that action at this time.
0 commit comments