summaryrefslogtreecommitdiff
path: root/Jel/Views/Utility/ConsoleSheetView.swift
diff options
context:
space:
mode:
authorShav Kinderlehrer <[email protected]>2023-12-15 10:41:00 -0500
committerShav Kinderlehrer <[email protected]>2023-12-15 10:41:00 -0500
commit2e3c12fed339c8bf3dc966217cbdf4c385fb98a1 (patch)
tree356a0bbfd24f98bf04545eb876cf20cd6179850e /Jel/Views/Utility/ConsoleSheetView.swift
parent3994a6f408905049a5c280a303e30fe636b07968 (diff)
downloadjel-2e3c12fed339c8bf3dc966217cbdf4c385fb98a1.tar.gz
jel-2e3c12fed339c8bf3dc966217cbdf4c385fb98a1.zip
Add settings view + fix signin flow
Diffstat (limited to 'Jel/Views/Utility/ConsoleSheetView.swift')
-rw-r--r--Jel/Views/Utility/ConsoleSheetView.swift35
1 files changed, 35 insertions, 0 deletions
diff --git a/Jel/Views/Utility/ConsoleSheetView.swift b/Jel/Views/Utility/ConsoleSheetView.swift
new file mode 100644
index 0000000..a047315
--- /dev/null
+++ b/Jel/Views/Utility/ConsoleSheetView.swift
@@ -0,0 +1,35 @@
+//
+// ConsoleSheetView.swift
+// Jel
+//
+// Created by zerocool on 12/12/23.
+//
+
+import SwiftUI
+import PulseUI
+
+struct ConsoleSheetView: View {
+ @Binding var showingConsoleSheet: Bool
+
+ var body: some View {
+ NavigationStack {
+ ConsoleView()
+ .closeButtonHidden()
+ .navigationTitle("Debug consoles")
+ .toolbar {
+ ToolbarItem {
+ Button {
+ showingConsoleSheet.toggle()
+ } label: {
+ Text("Done")
+ .bold()
+ }
+ }
+ }
+ }
+ }
+}
+
+#Preview {
+ ConsoleSheetView(showingConsoleSheet: .constant(true))
+}