summaryrefslogtreecommitdiff
path: root/Jel/Views/Dashboard
diff options
context:
space:
mode:
Diffstat (limited to 'Jel/Views/Dashboard')
-rw-r--r--Jel/Views/Dashboard/DashboardView.swift26
1 files changed, 13 insertions, 13 deletions
diff --git a/Jel/Views/Dashboard/DashboardView.swift b/Jel/Views/Dashboard/DashboardView.swift
index a29d2f5..b3c223b 100644
--- a/Jel/Views/Dashboard/DashboardView.swift
+++ b/Jel/Views/Dashboard/DashboardView.swift
@@ -12,23 +12,23 @@ struct DashboardView: View {
@State var showingSettingsSheet: Bool = false
var body: some View {
- NavigationStack {
- VStack {
+ VStack {
+ NavigationStack {
DashboardLibraryView()
+ .navigationTitle("Home")
}
- .navigationTitle("Home")
- .toolbar {
- ToolbarItem(placement: .topBarTrailing) {
- Button {
- showingSettingsSheet.toggle()
- } label: {
- Label("Settings", systemImage: "gear")
- }
+ }
+ .toolbar {
+ ToolbarItem(placement: .topBarTrailing) {
+ Button {
+ showingSettingsSheet.toggle()
+ } label: {
+ Label("Settings", systemImage: "gear")
}
}
- .sheet(isPresented: $showingSettingsSheet) {
- SettingsView(showingSettingsView: $showingSettingsSheet)
- }
+ }
+ .sheet(isPresented: $showingSettingsSheet) {
+ SettingsView(showingSettingsView: $showingSettingsSheet)
}
}
}