Skip to content

Commit 849e624

Browse files
committed
ui: 상단 내비게이션바 영역 최소화
1 parent 56be310 commit 849e624

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

Application/DevLogPresentation/Sources/Home/Home/HomeView.swift

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -126,21 +126,19 @@ struct HomeView: View {
126126
}
127127
}
128128
.scrollDisabled(true)
129+
.navigationTitle(Text(String(localized: "home_webpage_input_title")))
130+
.navigationBarTitleDisplayMode(.inline) // 설정 안하면 섹션 위에 내비게이션 large 만큼 영역 먹음
129131
.toolbar {
130-
ToolbarItem(placement: .principal) {
131-
Text(String(localized: "home_webpage_input_title"))
132-
}
133132
ToolbarItem(placement: .topBarTrailing) {
134133
Button(String(localized: "home_add")) {
135134
store.send(.addWebPage)
136135
}
137136
}
138137
}
139138
}
139+
.navigationTitle(Text(String(localized: "nav_home_content")))
140+
.navigationBarTitleDisplayMode(.inline) // 설정 안하면 섹션 위에 내비게이션 large 만큼 영역 먹음
140141
.toolbar {
141-
ToolbarItem(placement: .principal) {
142-
Text(String(localized: "nav_home_content"))
143-
}
144142
ToolbarItem(placement: .topBarLeading) {
145143
Button {
146144
store.send(.sheet(.presented(.tapCloseButton)))

0 commit comments

Comments
 (0)