Minor fixes
This commit is contained in:
@@ -14,15 +14,8 @@ public struct MainView: View {
|
||||
@State private var alert: Alert?
|
||||
|
||||
public init() {}
|
||||
public var body: some View {
|
||||
if ApplicationLibrary.inPreview {
|
||||
body1.frame(width: 1280, height: 750, alignment: .topLeading)
|
||||
} else {
|
||||
body1
|
||||
}
|
||||
}
|
||||
|
||||
private var body1: some View {
|
||||
public var body: some View {
|
||||
NavigationSplitView {
|
||||
SidebarView()
|
||||
.navigationSplitViewColumnWidth(150)
|
||||
@@ -31,9 +24,9 @@ public struct MainView: View {
|
||||
selection.contentView
|
||||
.navigationTitle(selection.title)
|
||||
}
|
||||
.navigationSplitViewColumnWidth(600)
|
||||
.navigationSplitViewColumnWidth(650)
|
||||
}
|
||||
.frame(minHeight: 470)
|
||||
.frame(minHeight: 500)
|
||||
.onAppear {
|
||||
environments.postReload()
|
||||
#if !DEBUG
|
||||
|
||||
Reference in New Issue
Block a user