|
|
@@ -28,12 +28,11 @@ struct SidebarView: View {
|
|
|
.padding(.horizontal, 16)
|
|
|
.padding(.bottom, 20)
|
|
|
}
|
|
|
- .frame(width: AppTheme.sidebarWidth)
|
|
|
- .background(AppTheme.sidebarBackground)
|
|
|
- .overlay(alignment: .trailing) {
|
|
|
- Rectangle()
|
|
|
- .fill(AppTheme.border)
|
|
|
- .frame(width: 1)
|
|
|
+ .frame(width: AppTheme.sidebarWidth, alignment: .top)
|
|
|
+ .frame(maxHeight: .infinity)
|
|
|
+ .background {
|
|
|
+ AppTheme.sidebarBackground
|
|
|
+ .ignoresSafeArea(edges: .top)
|
|
|
}
|
|
|
}
|
|
|
|