Shift more button to the left for voice calls

This commit is contained in:
ismailgulek
2020-12-14 15:00:36 +03:00
parent da12e3ea88
commit 354e5a2a48
3 changed files with 16 additions and 3 deletions
+11
View File
@@ -351,6 +351,17 @@
#pragma mark - Properties
- (void)setMxCall:(MXCall *)mxCall
{
[super setMxCall:mxCall];
if (self.videoMuteButton.isHidden)
{
// shift more button to left
self.moreButtonLeadingConstraint.constant = 8.0;
}
}
- (UIImage*)picturePlaceholder
{
CGFloat fontSize = floor(self.callerImageViewWidthConstraint.constant * 0.7);