diff --git a/Signal/src/Models/TSMessageAdapaters/AttachmentUploadView.m b/Signal/src/Models/TSMessageAdapaters/AttachmentUploadView.m index cdbd55f64..539e4ba99 100644 --- a/Signal/src/Models/TSMessageAdapaters/AttachmentUploadView.m +++ b/Signal/src/Models/TSMessageAdapaters/AttachmentUploadView.m @@ -47,7 +47,8 @@ NS_ASSUME_NONNULL_BEGIN [superview.layer addSublayer:_maskLayer]; const CGFloat progressWidth = round(superview.frame.size.width * 0.45f); - const CGFloat progressHeight = round(progressWidth * 0.11f); + const CGFloat progressHeight = round(MIN(superview.frame.size.height * 0.5f, + progressWidth * 0.09f)); CGRect progressFrame = CGRectMake(round((superview.frame.size.width - progressWidth) * 0.5f), round((superview.frame.size.height - progressHeight) * 0.5f), progressWidth, diff --git a/Signal/src/views/OWSProgressView.m b/Signal/src/views/OWSProgressView.m index 63cfe4caf..554f2e4c1 100644 --- a/Signal/src/views/OWSProgressView.m +++ b/Signal/src/views/OWSProgressView.m @@ -79,8 +79,8 @@ NS_ASSUME_NONNULL_BEGIN - (void)update { - CGFloat kBorderThickness = self.bounds.size.height * 0.15f; - CGFloat kOuterRadius = self.bounds.size.height * 0.3f; + CGFloat kBorderThickness = self.bounds.size.height * 0.1f; + CGFloat kOuterRadius = self.bounds.size.height * 0.25f; CGFloat kInnerRadius = kOuterRadius - kBorderThickness; // We want to slightly overlap the border with the progress // to achieve a clean effect.