File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -912,7 +912,7 @@ - (void)setTextInputbarHidden:(BOOL)hidden animated:(BOOL)animated
912912 }
913913
914914 __weak typeof (self) weakSelf = self;
915-
915+
916916 void (^animations)(void ) = ^void (){
917917
918918 weakSelf.textInputbarHC .constant = hidden ? 0.0 : weakSelf.textInputbar .appropriateHeight ;
@@ -2276,7 +2276,7 @@ - (void)slk_setupViewConstraints
22762276
22772277- (void )slk_updateViewConstraints
22782278{
2279- self.textInputbarHC .constant = self.textInputbar .minimumInputbarHeight ;
2279+ self.textInputbarHC .constant = self.textInputbar .hidden ? 0.0 : self. textInputbar . minimumInputbarHeight ;
22802280 self.scrollViewHC .constant = [self slk_appropriateScrollViewHeight ];
22812281 self.keyboardHC .constant = [self slk_appropriateKeyboardHeightFromRect: CGRectNull];
22822282
You can’t perform that action at this time.
0 commit comments