Skip to content

Commit 6b513d0

Browse files
committed
FIx: guard문 수정
1 parent eaa4f9c commit 6b513d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

HomeCafeRecipes/HomeCafeRecipes/Presentation/Tabbar/MainTabBarController.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,16 @@ class MainTabBarController: UITabBarController, UITabBarControllerDelegate {
6363
addButton.heightAnchor.constraint(equalToConstant: 64)
6464
])
6565
}
66-
66+
6767
@objc private func didTapActionButton() {
6868
let alert = UIAlertController(title: "게시물 작성", message: "어떤 게시물을 작성하실 건가요?", preferredStyle: .actionSheet)
6969
alert.addAction(UIAlertAction(title: "Coffee", style: .default, handler: { [weak self] _ in
70-
guard let self = self else { return }
70+
guard let self else { return }
7171
let addRecipeVC = AddRecipeViewController(recipeType: .coffee)
7272
self.navigationController?.pushViewController(addRecipeVC, animated: true)
7373
}))
7474
alert.addAction(UIAlertAction(title: "Dessert", style: .default, handler: { [weak self] _ in
75-
guard let self = self else { return }
75+
guard let self else { return }
7676
let addRecipeVC = AddRecipeViewController(recipeType: .dessert)
7777
self.navigationController?.pushViewController(addRecipeVC, animated: true)
7878
}))

0 commit comments

Comments
 (0)