Improve dashboard

This commit is contained in:
世界
2023-08-02 16:47:07 +08:00
parent b9a7ea4afa
commit 5e0573d15c
24 changed files with 619 additions and 257 deletions
+2 -5
View File
@@ -17,11 +17,7 @@ public struct MainView: View {
public init() {}
public var body: some View {
NavigationSplitView {
VStack {
SidebarView()
}
.frame(minWidth: 150)
SidebarView()
} detail: {
if profileLoading {
ProgressView().onAppear {
@@ -32,6 +28,7 @@ public struct MainView: View {
}
} else {
selection.contentView
.navigationTitle(selection.title)
}
}
#if !DEBUG