Switching composer between text mode & action mode

- Tweaked animation speed
This commit is contained in:
Gil Eluard
2021-04-03 00:03:57 +02:00
parent c1caaaa775
commit 8a0674404e
2 changed files with 6 additions and 4 deletions

View File

@@ -201,7 +201,7 @@ const double RoomInputToolbarViewContextBarHeight = 30;
if (self.mainToolbarHeightConstraint.constant != updatedHeight)
{
[UIView animateWithDuration:.3 animations:^{
[UIView animateWithDuration:.15 animations:^{
self.mainToolbarHeightConstraint.constant = updatedHeight;
[self layoutIfNeeded];