summaryrefslogtreecommitdiff
path: root/Jel/Views/Dashboard/DashBoardView.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Jel/Views/Dashboard/DashBoardView.swift')
-rw-r--r--Jel/Views/Dashboard/DashBoardView.swift36
1 files changed, 36 insertions, 0 deletions
diff --git a/Jel/Views/Dashboard/DashBoardView.swift b/Jel/Views/Dashboard/DashBoardView.swift
new file mode 100644
index 0000000..ea2003c
--- /dev/null
+++ b/Jel/Views/Dashboard/DashBoardView.swift
@@ -0,0 +1,36 @@
+//
+// DashBoardView.swift
+// Jel
+//
+// Created by zerocool on 12/12/23.
+//
+
+import SwiftUI
+
+struct DashBoardView: View {
+ @State var showingSettingsSheet: Bool = false
+
+ var body: some View {
+ NavigationStack {
+ VStack {
+
+ }
+ .toolbar {
+ ToolbarItem {
+ Button {
+ showingSettingsSheet.toggle()
+ } label: {
+ Label("Settings", systemImage: "gear")
+ }
+ }
+ }
+ .sheet(isPresented: $showingSettingsSheet) {
+ SettingsView(showingSettingsView: $showingSettingsSheet)
+ }
+ }
+ }
+}
+
+#Preview {
+ DashBoardView()
+}