From 20df1f8d39f5944d24b82d4e74abf51984aa236b Mon Sep 17 00:00:00 2001 From: giljihun Date: Tue, 20 Jan 2026 15:31:48 +0900 Subject: [PATCH 1/2] =?UTF-8?q?style:=20pushNotiOffView=EC=97=90=EB=8F=84?= =?UTF-8?q?=20list=20=EB=AA=A8=EB=94=94=ED=8C=8C=EC=9D=B4=EC=96=B4=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Keychy/Keychy/Presentation/Home/Views/Alarm/AlarmView.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Keychy/Keychy/Presentation/Home/Views/Alarm/AlarmView.swift b/Keychy/Keychy/Presentation/Home/Views/Alarm/AlarmView.swift index 1616f1a77..f83d1f302 100644 --- a/Keychy/Keychy/Presentation/Home/Views/Alarm/AlarmView.swift +++ b/Keychy/Keychy/Presentation/Home/Views/Alarm/AlarmView.swift @@ -76,10 +76,13 @@ extension AlarmView { // 푸시 알림 off 배너 if viewModel.isNotiOff && viewModel.isNotiOffShown { pushNotiOffView + .listRowInsets(.init()) + .listRowSeparator(.hidden) + .listRowBackground(Color.clear) .padding(.top, 10) .padding(.bottom, 20) } - + ForEach(viewModel.notifications) { notification in NotificationItemView( notification: notification, From 95ed4e150088e840c1b2a11b762fc717b08f9a13 Mon Sep 17 00:00:00 2001 From: giljihun Date: Tue, 20 Jan 2026 15:32:40 +0900 Subject: [PATCH 2/2] chore: .listRowInsets(.EdgeInset()) -> .listRowInsets(.init()) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 둘이 기본값으로 같은 의미이다. --- .../Keychy/Presentation/Home/Views/Alarm/AlarmView.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Keychy/Keychy/Presentation/Home/Views/Alarm/AlarmView.swift b/Keychy/Keychy/Presentation/Home/Views/Alarm/AlarmView.swift index f83d1f302..92639e847 100644 --- a/Keychy/Keychy/Presentation/Home/Views/Alarm/AlarmView.swift +++ b/Keychy/Keychy/Presentation/Home/Views/Alarm/AlarmView.swift @@ -41,7 +41,7 @@ struct AlarmView: View { viewModel.hasNetworkError = true return } - + viewModel.checkNotificationPermission() viewModel.fetchNotifications() } @@ -69,7 +69,7 @@ extension AlarmView { }) .ignoresSafeArea() } - + /// 알림 리스트 뷰 private var notificationListView: some View { List { @@ -90,7 +90,7 @@ extension AlarmView { handleNotificationTap(notification) } ) - .listRowInsets(EdgeInsets()) + .listRowInsets(.init()) .listRowSeparator(.hidden) .listRowBackground(Color.clear) .swipeActions(edge: .trailing, allowsFullSwipe: false) { @@ -114,7 +114,7 @@ extension AlarmView { .typography(.suit15R) .padding(15) } - + } /// 기기 푸쉬 알림이 off일 때 나오는 상단뷰