Skip to content

Commit

Permalink
๐ŸŽจ :: ์ฝ”๋“œ Formatting ์ ์šฉ
Browse files Browse the repository at this point in the history
  • Loading branch information
youn9k committed Aug 31, 2024
1 parent dd9cfd3 commit f0aa57e
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ final class CreateListButtonView: UIView {
$0.backgroundColor = .white.withAlphaComponent(0.4)
$0.clipsToBounds = true
}

private let translucentView = UIVisualEffectView(effect: UIBlurEffect(style: .regular)).then {
$0.layer.cornerRadius = 8
}
Expand All @@ -28,19 +28,19 @@ final class CreateListButtonView: UIView {
alignment: .center,
kernValue: -0.5
)

let button = UIButton()

private let padding: UIEdgeInsets

init(padding: UIEdgeInsets = .zero) {
self.padding = padding
super.init(frame: .zero)
addView()
setLayout()
configureUI()
}

@available(*, unavailable)
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
Expand All @@ -63,7 +63,7 @@ final class CreateListButtonView: UIView {
$0.trailing.equalToSuperview().inset(padding.right)
$0.bottom.equalToSuperview().inset(padding.bottom)
}

translucentView.snp.makeConstraints {
$0.edges.equalToSuperview()
}
Expand All @@ -77,7 +77,7 @@ final class CreateListButtonView: UIView {
title.snp.makeConstraints {
$0.center.equalToSuperview()
}

button.snp.makeConstraints {
$0.edges.equalToSuperview()
}
Expand Down

0 comments on commit f0aa57e

Please sign in to comment.