Skip to content

Commit 3f33c87

Browse files
committed
ui: .navigationSplitViewColumnWidth(min:ideal:max) 적용
1 parent 2d1ffd9 commit 3f33c87

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Application/DevLogPresentation/Sources/Main/MainView.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ struct MainView: View {
112112
mainSidebar
113113
} content: {
114114
homeView
115+
.navigationSplitViewColumnWidth(min: 350, ideal: 450, max: nil)
115116
} detail: {
116117
homeRegularDetailView
117118
}
@@ -121,6 +122,7 @@ struct MainView: View {
121122
mainSidebar
122123
} content: {
123124
todayView
125+
.navigationSplitViewColumnWidth(min: 350, ideal: 450, max: nil)
124126
} detail: {
125127
todayRegularDetailView
126128
}
@@ -132,6 +134,7 @@ struct MainView: View {
132134
coordinator: pushNotificationListViewCoordinator,
133135
isCompactLayout: isCompactLayout
134136
)
137+
.navigationSplitViewColumnWidth(min: 350, ideal: 450, max: nil)
135138
} detail: {
136139
Group {
137140
if let todoId = pushNotificationListViewCoordinator.todoIdToPresent?.id {
@@ -155,6 +158,7 @@ struct MainView: View {
155158
mainSidebar
156159
} content: {
157160
profileView
161+
.navigationSplitViewColumnWidth(min: 350, ideal: 450, max: nil)
158162
} detail: {
159163
profileRegularDetailView
160164
}

0 commit comments

Comments
 (0)