@@ -600,19 +600,23 @@ - (void)didSelectedMultipleMediaAction {
600600 [self .messageInputView.inputTextView resignFirstResponder ];
601601}
602602
603- - (void )didSendFaceMessage {
604- self.textViewInputViewType = XHTextViewFaceInputViewType;
605-
606- [UIView animateWithDuration: 0.2 delay: 0 options: UIViewAnimationOptionCurveEaseInOut animations: ^{
607- CGRect inputViewFrame = self.messageInputView .frame ;
608- inputViewFrame.origin .y = CGRectGetMinY (self.shareMenuView .frame ) - CGRectGetHeight (inputViewFrame);
609- self.messageInputView .frame = inputViewFrame;
610-
611- } completion: ^(BOOL finished) {
603+ - (void )didSendFaceMessage : (BOOL )sendFace {
604+ if (sendFace) {
605+ self.textViewInputViewType = XHTextViewFaceInputViewType;
612606
613- }];
614- self.emotionManagerView .alpha = 1.0 ;
615- [self .messageInputView.inputTextView resignFirstResponder ];
607+ [UIView animateWithDuration: 0.2 delay: 0 options: UIViewAnimationOptionCurveEaseInOut animations: ^{
608+ CGRect inputViewFrame = self.messageInputView .frame ;
609+ inputViewFrame.origin .y = CGRectGetMinY (self.shareMenuView .frame ) - CGRectGetHeight (inputViewFrame);
610+ self.messageInputView .frame = inputViewFrame;
611+
612+ } completion: ^(BOOL finished) {
613+
614+ }];
615+ self.emotionManagerView .alpha = 1.0 ;
616+ [self .messageInputView.inputTextView resignFirstResponder ];
617+ } else {
618+ [self .messageInputView.inputTextView becomeFirstResponder ];
619+ }
616620}
617621
618622- (void )didStartRecordingVoice {
@@ -699,6 +703,10 @@ - (XHEmotionManager *)emotionManagerForColumn:(NSInteger)column {
699703 return nil ;
700704}
701705
706+ - (NSArray *)emotionManagersAtManager {
707+ return nil ;
708+ }
709+
702710#pragma mark - UIScrollView delegate
703711
704712- (void )scrollViewWillBeginDragging : (UIScrollView *)scrollView {
0 commit comments