diff --git a/apps/ios/Shared/Views/Chat/ChatItem/CIVoiceView.swift b/apps/ios/Shared/Views/Chat/ChatItem/CIVoiceView.swift index f99ac40ee0..e7b2b2ad63 100644 --- a/apps/ios/Shared/Views/Chat/ChatItem/CIVoiceView.swift +++ b/apps/ios/Shared/Views/Chat/ChatItem/CIVoiceView.swift @@ -162,7 +162,7 @@ struct VoiceMessagePlayer: View { .clipShape(Circle()) if recordingTime > 0 { ProgressCircle(length: recordingTime, progress: $playbackTime) - .frame(width: 52, height: 52) // this + ProgressCircle lineWidth = background circle diameter + .frame(width: 53, height: 53) // this + ProgressCircle lineWidth = background circle diameter } } } @@ -176,7 +176,7 @@ struct VoiceMessagePlayer: View { .trim(from: 0, to: ((progress ?? TimeInterval(0)) / length)) .stroke( Color.accentColor, - style: StrokeStyle(lineWidth: 4) + style: StrokeStyle(lineWidth: 3) ) .rotationEffect(.degrees(-90)) .animation(.linear, value: progress) diff --git a/apps/ios/Shared/Views/Chat/ComposeMessage/ComposeVoiceView.swift b/apps/ios/Shared/Views/Chat/ComposeMessage/ComposeVoiceView.swift index e79de0d637..637083d9f1 100644 --- a/apps/ios/Shared/Views/Chat/ComposeMessage/ComposeVoiceView.swift +++ b/apps/ios/Shared/Views/Chat/ComposeMessage/ComposeVoiceView.swift @@ -152,7 +152,7 @@ struct ComposeVoiceView: View { ZStack { Rectangle() .fill(Color.accentColor) - .frame(width: min(CGFloat((progress ?? TimeInterval(0)) / length) * geometry.size.width, geometry.size.width), height: 4) + .frame(width: min(CGFloat((progress ?? TimeInterval(0)) / length) * geometry.size.width, geometry.size.width), height: 3) .animation(.linear, value: progress) } .frame(height: ComposeVoiceView.previewHeight - 1, alignment: .bottom) // minus 1 is for the bottom padding