Merge pull request #1266 from vector-im/move_loading_wheel_with_keyboard

RoomVC: Make the activity indicator follow the keyboard
This commit is contained in:
manuroe 2017-06-08 11:26:44 +02:00 committed by GitHub
commit 7450045ba9

View file

@ -930,6 +930,12 @@
});
}
// Make the activity indicator follow the keyboard
// At runtime, this creates a smooth animation
CGPoint activityIndicatorCenter = self.activityIndicator.center;
activityIndicatorCenter.y = self.view.center.y - keyboardHeight / 2;
self.activityIndicator.center = activityIndicatorCenter;
}
- (void)dismissTemporarySubViews