Skip to content

Commit

Permalink
chore: use function
Browse files Browse the repository at this point in the history
  • Loading branch information
yuncheol-AHN committed Nov 30, 2024
1 parent fbc9819 commit 98892a4
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,12 +248,8 @@ final public class AudioViewController: UIViewController {
audioButtonBackground.setWidthAndHeight(width: 60, height: 60)

audioButton.layer.cornerRadius = 24
audioButtonConstraints = [
audioButton.widthAnchor.constraint(equalToConstant: 48),
audioButton.heightAnchor.constraint(equalToConstant: 48),
audioButton.centerXAnchor.constraint(equalTo: audioButtonBackground.centerXAnchor),
audioButton.centerYAnchor.constraint(equalTo: audioButtonBackground.centerYAnchor)
]
audioButton.setWidthAndHeight(width: 48, height: 48)
audioButton.setCenter(view: audioButtonBackground)
NSLayoutConstraint.activate(audioButtonConstraints)

timeTextLabel.setAnchor(
Expand Down

0 comments on commit 98892a4

Please sign in to comment.