File tree 2 files changed +4
-4
lines changed 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 24
24
#define UI_IS_IOS8_AND_HIGHER ([[UIDevice currentDevice].systemVersion floatValue] >= 8.0)
25
25
26
26
#define SLK_INPUT_ACCESSORY_DEBUG DEBUG && 0 // Renders a translucent red area representing the keyboard accessory view
27
- #define SLK_KEYBOARD_NOTIFICATION_DEBUG DEBUG && 1 // Logs every keyboard notification being sent
27
+ #define SLK_KEYBOARD_NOTIFICATION_DEBUG DEBUG && 0 // Logs every keyboard notification being sent
28
28
29
29
static NSString * SLKTextViewControllerDomain = @"com.slack.TextViewController" ;
30
30
Original file line number Diff line number Diff line change @@ -849,7 +849,7 @@ - (void)performRightAction
849
849
850
850
- (void )postKeyboarStatusNotification : (NSNotification *)notification
851
851
{
852
- if (![ self .textView isFirstResponder ] || self.isExternalKeyboardDetected || self.isRotating ) {
852
+ if (self.isExternalKeyboardDetected || self.isRotating ) {
853
853
return ;
854
854
}
855
855
@@ -1122,7 +1122,7 @@ - (void)didShowOrHideKeyboard:(NSNotification *)notification
1122
1122
}
1123
1123
1124
1124
SLKKeyboardStatus status = [self keyboardStatusForNotification: notification];
1125
-
1125
+
1126
1126
// Skips if it's the current status
1127
1127
if (self.keyboardStatus == status) {
1128
1128
return ;
@@ -1185,7 +1185,7 @@ - (void)didPostCustomKeyboardNotification:(NSNotification *)notification
1185
1185
{
1186
1186
// Used for debug only
1187
1187
if ([notification.object isEqual: self .textView]) {
1188
- NSLog (@" didPostCustomKeyboardNotification : %@ " , notification);
1188
+ NSLog (@" %@ didPostCustomKeyboardNotification : %@ " , NSStringFromClass ([ self class ]) , notification);
1189
1189
}
1190
1190
}
1191
1191
You can’t perform that action at this time.
0 commit comments