From 6b5c06f1eb3af79bb2e25ff540467602b45177fe Mon Sep 17 00:00:00 2001 From: opficdev <162981733+opficdev@users.noreply.github.com> Date: Tue, 2 Jun 2026 22:00:00 +0900 Subject: [PATCH 1/8] =?UTF-8?q?refactor:=20NavigationBarConfigurator=20?= =?UTF-8?q?=EA=B8=B0=EB=B3=B8=20=EB=B0=B0=EA=B2=BD=20=ED=86=B5=EC=9D=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Sources/Common/NavigationBarConfigurator.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Application/DevLogPresentation/Sources/Common/NavigationBarConfigurator.swift b/Application/DevLogPresentation/Sources/Common/NavigationBarConfigurator.swift index 3828dcb4..cb8d095b 100644 --- a/Application/DevLogPresentation/Sources/Common/NavigationBarConfigurator.swift +++ b/Application/DevLogPresentation/Sources/Common/NavigationBarConfigurator.swift @@ -10,7 +10,7 @@ import DevLogDomain /// NavigationBar의 배경색을 지정하고 shadowColor를 제거하는 구조체 /// -/// 기본적으로 ``UIColor/systemBackground``를 배경색으로 사용하며, +/// 기본적으로 ``UIColor/systemGroupedBackground``를 배경색으로 사용하며, /// 자체 `NavigationStack`을 가진 뷰에서는 `alwaysVisible`을 `true`로 설정하여 /// 스크롤 위치와 관계없이 배경색이 항상 표시되도록 할 수 있다. struct NavigationBarConfigurator: UIViewControllerRepresentable { @@ -20,7 +20,7 @@ struct NavigationBarConfigurator: UIViewControllerRepresentable { /// 지정된 배경색으로 Configurator를 생성한다. /// /// - Parameter backgroundColor: NavigationBar에 적용할 배경색. - init(_ backgroundColor: UIColor = .systemBackground) { + init(_ backgroundColor: UIColor = .systemGroupedBackground) { self.backgroundColor = backgroundColor self.alwaysVisible = false } @@ -32,7 +32,7 @@ struct NavigationBarConfigurator: UIViewControllerRepresentable { /// - alwaysVisible: `true`이면 스크롤 위치와 관계없이 배경색이 항상 표시된다. /// 자체 `NavigationStack`을 가진 뷰에서 사용한다. @available(iOS, deprecated: 18, message: "iOS 18 이상에서는 alwaysVisible 파라미터가 없는 생성자를 사용한다.") - init(_ backgroundColor: UIColor = .systemBackground, alwaysVisible: Bool) { + init(_ backgroundColor: UIColor = .systemGroupedBackground, alwaysVisible: Bool) { self.backgroundColor = backgroundColor if #available(iOS 18.0, *) { self.alwaysVisible = false From c63f9b9752abdef61f21eb65697b30d2d2e96686 Mon Sep 17 00:00:00 2001 From: opficdev <162981733+opficdev@users.noreply.github.com> Date: Tue, 2 Jun 2026 22:00:09 +0900 Subject: [PATCH 2/8] =?UTF-8?q?refactor:=20TodoDetail=20=EB=B0=B0=EA=B2=BD?= =?UTF-8?q?=20=ED=86=B5=EC=9D=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Sources/Common/TodoDetailContentView.swift | 2 +- .../DevLogPresentation/Sources/Home/TodoDetailView.swift | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Application/DevLogPresentation/Sources/Common/TodoDetailContentView.swift b/Application/DevLogPresentation/Sources/Common/TodoDetailContentView.swift index 2ba8fb53..ffafb4d6 100644 --- a/Application/DevLogPresentation/Sources/Common/TodoDetailContentView.swift +++ b/Application/DevLogPresentation/Sources/Common/TodoDetailContentView.swift @@ -18,7 +18,7 @@ struct TodoDetailContentView: View { var body: some View { ZStack { - Color(.secondarySystemBackground).ignoresSafeArea() + Color(.systemGroupedBackground).ignoresSafeArea() ScrollView { LazyVStack(alignment: .leading, spacing: 10) { HStack(alignment: .firstTextBaseline, spacing: 8) { diff --git a/Application/DevLogPresentation/Sources/Home/TodoDetailView.swift b/Application/DevLogPresentation/Sources/Home/TodoDetailView.swift index 93d9a62e..87bf57d4 100644 --- a/Application/DevLogPresentation/Sources/Home/TodoDetailView.swift +++ b/Application/DevLogPresentation/Sources/Home/TodoDetailView.swift @@ -17,7 +17,7 @@ struct TodoDetailView: View { var body: some View { ZStack { - Color(.secondarySystemBackground).ignoresSafeArea() + Color(.systemGroupedBackground).ignoresSafeArea() if let todo = viewModel.state.todo, let number = todo.number { TodoDetailContentView( title: todo.title, @@ -55,7 +55,7 @@ struct TodoDetailView: View { } } } - .background(Color(.secondarySystemBackground)) + .background(Color(.systemGroupedBackground)) .presentationDragIndicator(.visible) } .fullScreenCover(isPresented: Binding( From 6a4b2dc94a60586f97bcaa3f48bbb2391225c745 Mon Sep 17 00:00:00 2001 From: opficdev <162981733+opficdev@users.noreply.github.com> Date: Tue, 2 Jun 2026 22:00:25 +0900 Subject: [PATCH 3/8] =?UTF-8?q?refactor:=20TodoEditor=20=EB=B0=B0=EA=B2=BD?= =?UTF-8?q?=20=ED=86=B5=EC=9D=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DevLogPresentation/Sources/Home/TodoEditorView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/DevLogPresentation/Sources/Home/TodoEditorView.swift b/Application/DevLogPresentation/Sources/Home/TodoEditorView.swift index 2d01eeae..2e2277a0 100644 --- a/Application/DevLogPresentation/Sources/Home/TodoEditorView.swift +++ b/Application/DevLogPresentation/Sources/Home/TodoEditorView.swift @@ -73,7 +73,7 @@ struct TodoEditorView: View { } } } - .background(Color(.secondarySystemBackground)) + .background(Color(.systemGroupedBackground)) .presentationDragIndicator(.visible) } .toolbar { From 79a9c98c7a7761887315f5e5ba80f3a16a5ed972 Mon Sep 17 00:00:00 2001 From: opficdev <162981733+opficdev@users.noreply.github.com> Date: Tue, 2 Jun 2026 22:00:43 +0900 Subject: [PATCH 4/8] =?UTF-8?q?refactor:=20TodoList=20=EB=B0=B0=EA=B2=BD?= =?UTF-8?q?=20=ED=86=B5=EC=9D=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/DevLogPresentation/Sources/Home/TodoListView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/DevLogPresentation/Sources/Home/TodoListView.swift b/Application/DevLogPresentation/Sources/Home/TodoListView.swift index a8c2ab11..6cb586ea 100644 --- a/Application/DevLogPresentation/Sources/Home/TodoListView.swift +++ b/Application/DevLogPresentation/Sources/Home/TodoListView.swift @@ -201,7 +201,7 @@ struct TodoListView: View { if #available(iOS 26.0, *) { Color.clear } else { - Color(.systemBackground) + Color(.systemGroupedBackground) } } .offset(y: headerOffset) From 43a2d3c66b4d4745a5405eb3c843ef1b6a2ff058 Mon Sep 17 00:00:00 2001 From: opficdev <162981733+opficdev@users.noreply.github.com> Date: Tue, 2 Jun 2026 22:00:52 +0900 Subject: [PATCH 5/8] =?UTF-8?q?refactor:=20MainView=20detail=20=EB=B0=B0?= =?UTF-8?q?=EA=B2=BD=20=ED=86=B5=EC=9D=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DevLogPresentation/Sources/Main/MainView.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Application/DevLogPresentation/Sources/Main/MainView.swift b/Application/DevLogPresentation/Sources/Main/MainView.swift index 0614582f..9e206315 100644 --- a/Application/DevLogPresentation/Sources/Main/MainView.swift +++ b/Application/DevLogPresentation/Sources/Main/MainView.swift @@ -152,7 +152,7 @@ struct MainView: View { } } } - .background(Color(.secondarySystemBackground).ignoresSafeArea()) + .background(Color(.systemGroupedBackground).ignoresSafeArea()) case .profile: NavigationSplitView { mainSidebar @@ -236,7 +236,7 @@ struct MainView: View { homeDestinationView(homeRoute) } } - .background(Color(.secondarySystemBackground).ignoresSafeArea()) + .background(Color(.systemGroupedBackground).ignoresSafeArea()) } @ViewBuilder @@ -304,7 +304,7 @@ struct MainView: View { todayDestinationView(todayRoute) } } - .background(Color(.secondarySystemBackground).ignoresSafeArea()) + .background(Color(.systemGroupedBackground).ignoresSafeArea()) } @ViewBuilder @@ -349,7 +349,7 @@ struct MainView: View { profileRegularDestinationView(route) } } - .background(Color(.secondarySystemBackground).ignoresSafeArea()) + .background(Color(.systemGroupedBackground).ignoresSafeArea()) } @ViewBuilder From eb4a9511225f2a5b85fc21a68b448c9595fb78e4 Mon Sep 17 00:00:00 2001 From: opficdev <162981733+opficdev@users.noreply.github.com> Date: Tue, 2 Jun 2026 22:01:01 +0900 Subject: [PATCH 6/8] =?UTF-8?q?refactor:=20PushNotificationList=20?= =?UTF-8?q?=EB=B0=B0=EA=B2=BD=20=ED=86=B5=EC=9D=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PushNotification/PushNotificationListView.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Application/DevLogPresentation/Sources/PushNotification/PushNotificationListView.swift b/Application/DevLogPresentation/Sources/PushNotification/PushNotificationListView.swift index a33d41d9..7ad24247 100644 --- a/Application/DevLogPresentation/Sources/PushNotification/PushNotificationListView.swift +++ b/Application/DevLogPresentation/Sources/PushNotification/PushNotificationListView.swift @@ -25,7 +25,7 @@ struct PushNotificationListView: View { var body: some View { NavigationStack { notificationList - .background(NavigationBarConfigurator(.secondarySystemBackground, alwaysVisible: true)) + .background(NavigationBarConfigurator(alwaysVisible: true)) .onScrollOffsetChange { offset in guard isScrollTrackingEnabled else { return } headerOffset = max(0, -offset) @@ -35,7 +35,7 @@ struct PushNotificationListView: View { .navigationTitle(String(localized: "nav_push_notifications")) .listStyle(.plain) } - .background(Color(.secondarySystemBackground).ignoresSafeArea()) + .background(Color(.systemGroupedBackground).ignoresSafeArea()) .alert( "", isPresented: Binding( @@ -75,7 +75,7 @@ struct PushNotificationListView: View { } } } - .background(Color(.secondarySystemBackground)) + .background(Color(.systemGroupedBackground)) .presentationDragIndicator(.visible) } .overlay { @@ -167,7 +167,7 @@ struct PushNotificationListView: View { if #available(iOS 26.0, *) { Color.clear } else { - Color(.secondarySystemBackground) + Color(.systemGroupedBackground) } } .offset(y: headerOffset) From 27a84000fb7a54f90c2dd73d21ae81e3b08a66f6 Mon Sep 17 00:00:00 2001 From: opficdev <162981733+opficdev@users.noreply.github.com> Date: Tue, 2 Jun 2026 22:01:09 +0900 Subject: [PATCH 7/8] =?UTF-8?q?refactor:=20RootView=20=EC=8B=9C=ED=8A=B8?= =?UTF-8?q?=20=EB=B0=B0=EA=B2=BD=20=ED=86=B5=EC=9D=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/DevLogPresentation/Sources/Root/RootView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/DevLogPresentation/Sources/Root/RootView.swift b/Application/DevLogPresentation/Sources/Root/RootView.swift index b74658b2..2b3879db 100644 --- a/Application/DevLogPresentation/Sources/Root/RootView.swift +++ b/Application/DevLogPresentation/Sources/Root/RootView.swift @@ -104,7 +104,7 @@ public struct RootView: View { } } } - .background(Color(.secondarySystemBackground)) + .background(Color(.systemGroupedBackground)) .presentationDragIndicator(.visible) } } From a70d3ea86124b2714cd37cd057e4ae2c0da39fe0 Mon Sep 17 00:00:00 2001 From: opficdev <162981733+opficdev@users.noreply.github.com> Date: Tue, 2 Jun 2026 22:57:57 +0900 Subject: [PATCH 8/8] =?UTF-8?q?fix:=20iOS=2018=20=EC=9D=B4=ED=95=98=20?= =?UTF-8?q?=EB=B2=84=EC=A0=84=EC=97=90=EC=84=9C=20safeArea=20=EB=B6=80?= =?UTF-8?q?=EB=B6=84=EC=9D=98=20=EB=B0=B0=EA=B2=BD=EC=83=89=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/DevLogPresentation/Sources/Home/TodoListView.swift | 1 + .../Sources/PushNotification/PushNotificationListView.swift | 1 + 2 files changed, 2 insertions(+) diff --git a/Application/DevLogPresentation/Sources/Home/TodoListView.swift b/Application/DevLogPresentation/Sources/Home/TodoListView.swift index 6cb586ea..669795ce 100644 --- a/Application/DevLogPresentation/Sources/Home/TodoListView.swift +++ b/Application/DevLogPresentation/Sources/Home/TodoListView.swift @@ -116,6 +116,7 @@ struct TodoListView: View { } } .background(NavigationBarConfigurator()) + .background(Color(.systemGroupedBackground)) .task { viewModel.send(.onAppear) } } diff --git a/Application/DevLogPresentation/Sources/PushNotification/PushNotificationListView.swift b/Application/DevLogPresentation/Sources/PushNotification/PushNotificationListView.swift index 7ad24247..74b6cda2 100644 --- a/Application/DevLogPresentation/Sources/PushNotification/PushNotificationListView.swift +++ b/Application/DevLogPresentation/Sources/PushNotification/PushNotificationListView.swift @@ -25,6 +25,7 @@ struct PushNotificationListView: View { var body: some View { NavigationStack { notificationList + .background(Color(.systemGroupedBackground)) .background(NavigationBarConfigurator(alwaysVisible: true)) .onScrollOffsetChange { offset in guard isScrollTrackingEnabled else { return }