mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-29 15:52:40 +00:00
Merge pull request #1534 from vector-im/xcode9_warning
Fixed warnings now detected by Xcode 9
This commit is contained in:
commit
e2030f9fb0
3 changed files with 6 additions and 0 deletions
|
@ -20,6 +20,8 @@
|
|||
|
||||
- (void)prepareForReuse
|
||||
{
|
||||
[super prepareForReuse];
|
||||
|
||||
if (self.heightConstraint != 0)
|
||||
{
|
||||
self.heightConstraint = 0;
|
||||
|
|
|
@ -45,6 +45,8 @@
|
|||
|
||||
- (void)prepareForReuse
|
||||
{
|
||||
[super prepareForReuse];
|
||||
|
||||
if (self.pictureViewTopConstraint.constant != xibPictureViewTopConstraintConstant)
|
||||
{
|
||||
self.pictureViewTopConstraint.constant = xibPictureViewTopConstraintConstant;
|
||||
|
|
|
@ -45,6 +45,8 @@
|
|||
|
||||
- (void)prepareForReuse
|
||||
{
|
||||
[super prepareForReuse];
|
||||
|
||||
// Reset avatars
|
||||
for (UIView *avatarView in self.avatarsView.subviews)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue