Merge pull request #1534 from vector-im/xcode9_warning

Fixed warnings now detected by Xcode 9
This commit is contained in:
manuroe 2017-09-26 17:50:08 +02:00 committed by GitHub
commit e2030f9fb0
3 changed files with 6 additions and 0 deletions

View file

@ -20,6 +20,8 @@
- (void)prepareForReuse
{
[super prepareForReuse];
if (self.heightConstraint != 0)
{
self.heightConstraint = 0;

View file

@ -45,6 +45,8 @@
- (void)prepareForReuse
{
[super prepareForReuse];
if (self.pictureViewTopConstraint.constant != xibPictureViewTopConstraintConstant)
{
self.pictureViewTopConstraint.constant = xibPictureViewTopConstraintConstant;

View file

@ -45,6 +45,8 @@
- (void)prepareForReuse
{
[super prepareForReuse];
// Reset avatars
for (UIView *avatarView in self.avatarsView.subviews)
{