Skip to content

Commit

Permalink
[Chore] ACToastController bottomInset 프로퍼티 추가 (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
cirtuare committed Jan 17, 2025
1 parent 05b9fb7 commit 1d399ed
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import Then

final class ACToastController {
static func show(_ message: String,
bottomInset: Int = 92,
buttonTitle: String = "",
buttonAction: @escaping () -> Void) {

Expand All @@ -27,7 +28,7 @@ final class ACToastController {

toastView.snp.makeConstraints {
$0.height.equalTo(ScreenUtils.height*42/780)
$0.bottom.equalToSuperview().inset(ScreenUtils.height*92/780)
$0.bottom.equalToSuperview().inset(Int(ScreenUtils.height)*bottomInset/780)
$0.horizontalEdges.equalToSuperview().inset(ScreenUtils.width*20/360)
}

Expand Down

0 comments on commit 1d399ed

Please sign in to comment.