mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-30 16:22:39 +00:00
The contentMode was not properly managed.
This commit is contained in:
parent
18ff48a0f2
commit
e9512ac7ea
1 changed files with 1 additions and 1 deletions
|
@ -287,7 +287,7 @@
|
||||||
|
|
||||||
imageView = [[UIImageView alloc] init];
|
imageView = [[UIImageView alloc] init];
|
||||||
imageView.backgroundColor = [UIColor clearColor];
|
imageView.backgroundColor = [UIColor clearColor];
|
||||||
imageView.contentMode = UIViewContentModeScaleAspectFit;
|
imageView.contentMode = self.contentMode;
|
||||||
[scrollView addSubview:imageView];
|
[scrollView addSubview:imageView];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue