Skip to content

style: [알림함] - 기기 알림꺼짐 배너 UI 깨짐 수정 🟡#5

Merged
giljihun merged 2 commits into
developfrom
style/알림함---기기-알림꺼짐-배너-ui-깨짐
Jan 21, 2026

Hidden character warning

The head ref may contain hidden characters: "style/\uc54c\ub9bc\ud568---\uae30\uae30-\uc54c\ub9bc\uaebc\uc9d0-\ubc30\ub108-ui-\uae68\uc9d0"
Merged

style: [알림함] - 기기 알림꺼짐 배너 UI 깨짐 수정 🟡#5
giljihun merged 2 commits into
developfrom
style/알림함---기기-알림꺼짐-배너-ui-깨짐

Conversation

@giljihun
Copy link
Copy Markdown
Member

🎯 PR 내용

알림함 레이아웃 조정 전

위 사진처럼, 알림함 알림 설정 배너 UI가 이상해보이는 문제가 있었습니다.

해결은 간단했습니다.

List {
    // 푸시 알림 off 배너
    if viewModel.isNotiOff && viewModel.isNotiOffShown {
        pushNotiOffView
			.listRowInsets(.init())
			.listRowSeparator(.hidden)
			.listRowBackground(Color.clear)
			.padding(.top, 10)
			.padding(.bottom, 20)
}

list 기본 스타일을 제거하고 보여줬던, 알림 아이템뷰들.
그런데, 알림설정 배너에는 이 list 모디파이어들이 적용되지 않았었습니다.

  • List 내부에 커스텀 뷰를 그대로 넣으면, 기본 row inset / separator가 적용됨.
  • 각 row에 .listRowInsets(.init()), .listRowSeparator(.hidden), .listRowBackground(.clear)를 적용.
    알림 배너뷰에도 List 기본 스타일을 제거하고 의도한 레이아웃으로 정렬되도록 수정.

📱 스크린샷 (UI 변경 시)

ScreenRecording_01-20-2026.14-44-59_1.mov

🔗 관련 이슈

✅ 체크리스트

  • 빌드 성공
  • 테스트 완료
  • Self-review 완료

@giljihun giljihun self-assigned this Jan 20, 2026
@giljihun giljihun linked an issue Jan 20, 2026 that may be closed by this pull request
@freshfresh22
Copy link
Copy Markdown
Member

    📮
  ┌────────┐
  │  우체통 │
  │  삐걱.. │
  └───┬────┘
      │
 /\_/\│
( •_• )   < 🔨길냥이
 >   <───┐
/  ___   |

| || |
| | |
_
|
___|

땅! 땅!

@giljihun giljihun changed the title style: [알림함] - 기기 알림꺼짐 배너 UI 깨짐 수정 style: [알림함] - 기기 알림꺼짐 배너 UI 깨짐 수정 🟡 Jan 20, 2026
// 푸시 알림 off 배너
if viewModel.isNotiOff && viewModel.isNotiOffShown {
pushNotiOffView
.listRowInsets(.init())
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

아하..!! 제가 List로 다시 바꾸면서 이 부분을 고려하지 못했네요
여기에도 이 모디파이어들을 넣어줘야하군요... 굿!!

@giljihun giljihun merged commit 7d5b76e into develop Jan 21, 2026
@giljihun giljihun deleted the style/알림함---기기-알림꺼짐-배너-ui-깨짐 branch January 21, 2026 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Style: [알림함] - 기기 알림꺼짐 배너 UI 깨짐 🟡

3 participants